-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
36 lines (34 loc) · 1.95 KB
/
MainWindow.xaml
File metadata and controls
36 lines (34 loc) · 1.95 KB
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
<Window x:Class="CheckListBox_FirstClick.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:local="clr-namespace:CheckListBox_FirstClick"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
mc:Ignorable="d" WindowStartupLocation="CenterScreen"
Title="CheckItem option" Height="350" Width="500">
<Window.DataContext>
<local:ViewModel></local:ViewModel>
</Window.DataContext>
<Grid x:Name="LayoutRoot" Background="White" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Border Margin="0" Grid.Row="1">
<Grid>
<syncfusion:CheckListBox IsCheckOnFirstClick="{Binding IsCheckOnFirstClick, Mode=TwoWay}"
ItemsSource="{Binding DaysCollection}"
Height="250"
Width="200"
Margin="30"
Name="checkListBox" />
</Grid>
</Border>
<GroupBox HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold" FontSize="14" FontFamily="Segoe UI" Grid.Column="1" BorderBrush="Silver" Header="User Options" Margin="20">
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<CheckBox IsChecked="{Binding IsCheckOnFirstClick, Mode=TwoWay}" FontWeight="Normal" FontFamily="Segoe UI" FontSize="13" Margin="3" Content ="IsCheckOnFirstClick" Grid.Column="0"/>
</Grid>
</GroupBox>
</Grid>
</Window>