/
MainWindow.xaml
26 lines (26 loc) · 1.23 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Window x:Class="GalleryThemeSelectorBehavior.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:GalleryThemeSelectorBehavior"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<dxb:GalleryControl>
<dxb:GalleryControl.Gallery>
<dxb:Gallery
ColCount="3"
IsItemCaptionVisible="True"
IsItemDescriptionVisible="True"
ItemAutoWidth="True">
<dxmvvm:Interaction.Behaviors>
<dxb:GalleryThemeSelectorBehavior ShowTouchThemes="False" />
</dxmvvm:Interaction.Behaviors>
</dxb:Gallery>
</dxb:GalleryControl.Gallery>
</dxb:GalleryControl>
</Grid>
</Window>