-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de5e43e
commit 1c5df33
Showing
1 changed file
with
89 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,114 @@ | ||
# SukiWindow | ||
|
||
<br/> | ||
|
||
In SukiUI, `SukiWindow` replaces `Window` as the basis for building apps. | ||
|
||
## Show | ||
![{F1A92653-7D30-4EF7-9FC2-F9C89507A70E}](https://github.com/user-attachments/assets/9be7f60b-d694-42dd-86ff-490ea80a3347) | ||
|
||
<br/> | ||
|
||
## Background Style | ||
|
||
SukiUI let you choose between 3 distinct background option, from the "Bubble", perfect to enhance the glassmorphism design of the library to the classic "Flat" background. | ||
|
||
Note that the background are dynamically created to match your color theme - Blue in this documentation. | ||
|
||
## Bubble | ||
|
||
```xml | ||
<suki:SukiWindow BackgroundStyle="Bubble"> | ||
<!-- Content --> | ||
<suki:SukiWindow/> | ||
``` | ||
|
||
#### Dark | ||
![{CFF9284D-F8E2-48C5-A837-05BB4BEA0673}](https://github.com/user-attachments/assets/bdfeec4e-d0e7-4d7e-b075-b0616720acbd) | ||
|
||
#### Light | ||
|
||
![{4E906261-7E2A-472E-B21E-FC038B1CFDF5}](https://github.com/user-attachments/assets/84dd83b4-be4f-4a0f-8c86-4d0c0e01e3ea) | ||
|
||
## Gradient | ||
|
||
```xml | ||
<suki:SukiWindow BackgroundStyle="Gradient"> | ||
<!-- Content --> | ||
<suki:SukiWindow/> | ||
``` | ||
|
||
#### Dark | ||
![{F92F9175-50C1-47E1-B7E9-1316D67CAF07}](https://github.com/user-attachments/assets/491a5e69-7b2f-4db0-87d0-6925aa79dee4) | ||
|
||
|
||
#### Light | ||
|
||
![{270E38B6-9F26-4B55-9693-E4373CE517B1}](https://github.com/user-attachments/assets/7ef7bfcb-3fcf-4993-9aa6-aa1616c8a2e9) | ||
|
||
|
||
## Flat | ||
|
||
```xml | ||
<suki:SukiWindow BackgroundStyle="Flat"> | ||
<!-- Content --> | ||
<suki:SukiWindow/> | ||
``` | ||
|
||
#### Dark | ||
![{78EDB412-EB89-4E5C-B093-B4E70ECEE198}](https://github.com/user-attachments/assets/2ff1b465-570b-4681-87b5-46fbc618e670) | ||
|
||
|
||
|
||
#### Light | ||
|
||
![{42AF6CB9-1E06-4BD3-9C0C-F7C7ABD74C05}](https://github.com/user-attachments/assets/bdeee364-3bb6-4509-8427-f150569618a9) | ||
|
||
|
||
|
||
|
||
<br/> | ||
|
||
|
||
## Functionalities | ||
|
||
<img src="/controls/layout/sukiwindow.webp" /> | ||
|
||
## Example | ||
### Logo | ||
|
||
<img src="https://sleekshot.app/api/download/AQ6CiLMLhBaA" /> | ||
|
||
```xml | ||
<suki:SukiWindow> | ||
|
||
<suki:SukiWindow.LogoContent> | ||
<!-- Logo --> | ||
</suki:SukiWindow.LogoContent> | ||
|
||
``` | ||
|
||
### Menu | ||
|
||
<img src="https://sleekshot.app/api/download/iGuqowytQiOn" /> | ||
|
||
```xml | ||
<suki:SukiWindow IsMenuVisible="True"> | ||
<suki:SukiWindow.MenuItems> | ||
<!-- Menu --> | ||
</suki:SukiWindow.MenuItems> | ||
<suki:SukiWindow/> | ||
``` | ||
|
||
### Right TitleBar Control | ||
|
||
<img src="https://sleekshot.app/api/download/aLrqQYoOd9N2" /> | ||
|
||
```xml | ||
<suki:SukiWindow.RightWindowTitleBarControls> | ||
<!-- Controls show on the right of title bar --> | ||
</suki:SukiWindow.RightWindowTitleBarControls> | ||
</suki:SukiWindow> | ||
``` | ||
|
||
|
||
## See Also | ||
|
||
[Demo: SukiUI.Demo/SukiUIDemoView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/SukiUIDemoView.axaml) | ||
|
||
[API: Controls/SukiWindow.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/SukiWindow.axaml.cs) | ||
[API: Controls/SukiWindow.axaml.cs](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI/Controls/SukiWindow.axaml.cs) |