forked from Jhanlon95/J-Hero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathControlGalleryView.xaml
26 lines (25 loc) · 1.45 KB
/
ControlGalleryView.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
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:pctrls="clr-namespace:Playnite.FullscreenApp.Controls;assembly=Playnite.FullscreenApp"
mc:Ignorable="d">
<Style x:Key="ControlGalleryContentStyle" TargetType="{x:Type ContentControl}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ContentControl}">
<DockPanel Background="{DynamicResource MainBackgourndBrush}"
d:DesignWidth="800" d:DesignHeight="700">
<StackPanel>
<pctrls:ButtonEx Content="Test" Margin="10" />
<pctrls:CheckBoxEx Content="Test" Margin="10" />
<pctrls:ComboBoxEx Margin="10" />
<pctrls:SliderEx Minimum="0" MaxHeight="10" Value="5" Margin="10" />
<pctrls:ToggleButtonEx Content="Test" Margin="10" />
</StackPanel>
</DockPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>