Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added Screenshot in controls #936

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added doc/assets/DrawerControls.png
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're going to need some better images of the DrawerControl and DrawerFlyoutPresenter. Perhaps even a GIF to show it in use. The drawer samples in Gallery are pretty ugly, we should have something nicer looking for the docs

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/assets/DrawerFlyoutPresenter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/assets/chips.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions doc/controls/ChipAndChipGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ xmlns:utu="using:Uno.Toolkit.UI"
</utu:Chip.Icon>
</utu:Chip>
```
![](../assets/chips.png)


## Lightweight Styling

Expand Down
1 change: 1 addition & 0 deletions doc/controls/DrawerControl.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ xmlns:utu="using:Uno.Toolkit.UI"
</utu:DrawerControl.DrawerContent>
</utu:DrawerControl>
```
![](../assets/DrawerControls.png)

#### NavigationView with drawer
The `DrawerControl` can also be used to enhance [`NavigationView` (muxc)](https://docs.microsoft.com/en-us/windows/winui/api/microsoft.ui.xaml.controls.navigationview?view=winui-3.0) with gesture support, using the `DrawerNavigationViewStyle`:
Expand Down
3 changes: 3 additions & 0 deletions doc/controls/DrawerFlyoutPresenter.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ Example:
</Flyout>
</Button.Flyout>
</Button>

![](../assets/DrawerFlyoutPresenter.png)

```
> note: Here `VisibleBoundsPadding.PaddingMask` is used to prevent the content from being placed outside of the user-interactable area on mobile devices.

Expand Down
Loading