Universal Windows Platform UWP: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 25: | Line 25: | ||
If you want your GridView to be filled Vertiallly and scroll sideways you can style it like this: | If you want your GridView to be filled Vertiallly and scroll sideways you can style it like this: | ||
<syntaxhighlight lang="python" line='xaml'> | |||
<GridView> | <GridView> | ||
<GridView.ItemsPanel> | <GridView.ItemsPanel> | ||
<ItemsPanelTemplate> | <ItemsPanelTemplate> | ||
<ItemsWrapGrid MaximumRowsOrColumns="3" Orientation="Vertical" /> | <ItemsWrapGrid MaximumRowsOrColumns="3" Orientation="Vertical" /> | ||
</ItemsPanelTemplate> | </ItemsPanelTemplate> | ||
</GridView.ItemsPanel> | </GridView.ItemsPanel> | ||
</GridView> | </GridView> | ||
</syntaxhighlight> | |||
===Styling buttons=== | ===Styling buttons=== |
Revision as of 17:35, 6 February 2017
Bindings
Cimbalino Toolkit
Cimbalino Toolkit depends on Microsoft.Xaml.Behaviors.Uwp.Managed.
Cimbalino Toolkit Samples
Styling
Styling ListView and GridView
- ListView and GridView UI optimization
- ListViewItem styles and templates
- GridViewItem styles and templates
If you want your GridView to be filled Vertiallly and scroll sideways you can style it like this: <syntaxhighlight lang="python" line='xaml'> <GridView>
<GridView.ItemsPanel> <ItemsPanelTemplate> <ItemsWrapGrid MaximumRowsOrColumns="3" Orientation="Vertical" /> </ItemsPanelTemplate> </GridView.ItemsPanel>
</GridView> </syntaxhighlight>