-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathSharpButtonExampleWindow.xaml
More file actions
50 lines (48 loc) · 3.27 KB
/
Copy pathSharpButtonExampleWindow.xaml
File metadata and controls
50 lines (48 loc) · 3.27 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<Window x:Class="ExampleWPFApp.SharpButtonExampleWindow"
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="SharpButtonExampleWindow" Height="300" Width="500">
<Border Background="White" HorizontalAlignment="Center" VerticalAlignment="Center">
<Grid >
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="110"/>
<ColumnDefinition Width="30"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Grid.Row="0" Text="SharpDisplay" VerticalAlignment="Center" Margin="8" FontSize="14" FontWeight="Bold"/>
<TextBlock Grid.Column="0" Grid.Row="1" Text="SharpButton" VerticalAlignment="Center" Margin="8" FontSize="14" FontWeight="Bold"/>
<TextBlock Grid.Column="0" Grid.Row="2" Text="SharpCheckbox" VerticalAlignment="Center" Margin="8" FontSize="14" FontWeight="Bold"/>
<TextBlock Grid.Column="3" Grid.Row="0" Text="<ps:SharpDisplay/>" VerticalAlignment="Center" Margin="8" FontSize="14" Foreground="#007ACC"/>
<TextBlock Grid.Column="3" Grid.Row="1" Text="<ps:SharpButton/>" VerticalAlignment="Center" Margin="8" FontSize="14" Foreground="#007ACC"/>
<TextBlock Grid.Column="3" Grid.Row="2" Text="<ps:SharpCheckbox/>" VerticalAlignment="Center" Margin="8" FontSize="14" Foreground="#007ACC"/>
<pns:SharpDisplay Grid.Column="1" Height="70"
Background="White"
VectorBrush="Black"
Vector="{StaticResource Gear}" BorderThickness="1"/>
<pns:SharpButton Grid.Column="1" Grid.Row="1" Margin="8"
Height="70" HorizontalAlignment="Stretch" VectorHeight="40%" BorderThickness="1"
CornerRadius="10"
Vector="{StaticResource Mail}"/>
<pns:SharpCheckbox Grid.Column="1" Grid.Row="2"
Height="70" HorizontalAlignment="Center" BorderThickness="4"/>
<!--<pns:SharpButton Width="130" Height="80" HorizontalAlignment="Center" VectorHeight="50%" BorderThickness="1"
CornerRadius="10"
Vector="{StaticResource Mail}"/>
<pns:SharpButton Grid.Column="1" Width="100" Height="70" BorderThickness="0"
Vector="{StaticResource Cross}" VectorHeight="42%" VectorBrush="White"
Background="#E83140" BackgroundOnHover="#E87E87" BackgroundOnClick="#E83140"/>-->
</Grid>
</Border>
</Window>