-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathOneSharpCheckbox.xaml
More file actions
24 lines (24 loc) · 1.33 KB
/
Copy pathOneSharpCheckbox.xaml
File metadata and controls
24 lines (24 loc) · 1.33 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
<Window x:Class="ExampleWPFApp.OneSharpCheckbox"
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:ExampleWPFApp"
mc:Ignorable="d"
xmlns:pns="clr-namespace:PrettyNSharp;assembly=PrettyNSharp"
Title="SharpCheckbox Example" Height="300" Width="300">
<Border Background="White">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!--<pns:SharpCheckbox Grid.Column="1" Height="80" BorderThickness="4" />-->
<pns:SharpCheckbox Grid.Column="1" BorderThickness="4" Height="80" CornerRadius="40" MarkMargin="4"
IsThreeState="False" Checkmark="{StaticResource Plus}" Nullmark="{StaticResource Disk}"
/>
<!--<pns:SharpCheckbox Grid.Column="1" BorderThickness="0" Background="Transparent" Checkmark="{StaticResource Star}" Height="80" MarkMargin="4"/>-->
</Grid>
</Border>
</Window>