-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMainWindow.xaml
63 lines (57 loc) · 2.55 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<Window x:Class="Appearance.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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:local="clr-namespace:Appearance"
mc:Ignorable="d" WindowStartupLocation="CenterScreen"
Title="DateTimeEdit - Themes" Height="600" Width="700">
<Window.DataContext>
<local:ViewModel/>
</Window.DataContext>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0">
<Grid>
<syncfusion:DateTimeEdit x:Name="dateTimeEdit"
Margin="20"
Width="auto" Height="25" >
</syncfusion:DateTimeEdit>
</Grid>
</Border>
<GroupBox VerticalAlignment="Center"
HorizontalAlignment="Center"
Margin="0,0,3,3"
Grid.Column="1"
Header="User Options">
<Grid HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"></ColumnDefinition>
<ColumnDefinition Width="150" ></ColumnDefinition>
</Grid.ColumnDefinitions>
<TextBlock Margin="3"
Text ="Themes"
Grid.Column="0"/>
<ComboBox ItemsSource="{Binding Themes}"
Grid.Column="1"
Margin="3"
Height="25"
Name="themes" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<i:InvokeCommandAction Command="{Binding SelectionChangedCommand}"
CommandParameter="{Binding ElementName=themes}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</ComboBox>
</Grid>
</GroupBox>
</Grid>
</Window>