forked from Torabi/GHCustomControls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNumericUpDownWindow.xaml
41 lines (35 loc) · 1.74 KB
/
NumericUpDownWindow.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
<Window x:Class="GHCustomControls.NumericUpDownWindow"
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:local="clr-namespace:GHCustomControls"
xmlns:toolkit="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:prop="clr-namespace:GHCustomControls.Properties"
mc:Ignorable="d"
d:DesignHeight="26" d:DesignWidth="100"
Width="100"
Height="26"
Margin="0"
MouseLeave="Window_MouseLeave"
PreviewKeyDown="Window_PreviewKeyDown"
Loaded="Window_Loaded" WindowStyle="None" ResizeMode="NoResize"
>
<Window.Effect>
<DropShadowEffect Color="#7F000000"/>
</Window.Effect>
<Window.Resources>
<BitmapImage x:Key="a" UriSource="./Resources/greenRoundOkButton.png" ></BitmapImage>
</Window.Resources>
<Grid VerticalAlignment="Stretch" Background="LightYellow">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="73*"></ColumnDefinition>
<ColumnDefinition Width="27*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid x:Name="PlaceHolder" Grid.Column="0" Margin="0,0,2.333,0">
</Grid>
<Button Grid.Column="1" HorizontalAlignment="Stretch" Click="Button_Click" VerticalAlignment="Stretch" Background="Transparent" BorderBrush="Transparent" Margin="1.667,0,1,0" >
<Image Source="{StaticResource a}"/>
</Button>
</Grid>
</Window>