12345678910111213141516171819202122232425262728 |
- <UserControl x:Class="PDF_Office.CustomControl.NumericUpDown"
- 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:PDF_Office.CustomControl"
- mc:Ignorable="d"
- d:DesignHeight="40" d:DesignWidth="80">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="4*"/>
- <ColumnDefinition Width="1*"/>
- </Grid.ColumnDefinitions>
- <TextBox Name="TextBox_Num" Grid.Column="0" Text="1" FontSize="20" TextAlignment="Center" MinWidth="80" MinHeight="20" VerticalContentAlignment="Center" />
- <Grid Grid.Column="1">
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Button Name="Button_Add" Grid.Row="0" Click="Button_Add_Click" Background="White">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 8L4 1 L8 8" Height="10" Stretch="Fill" Visibility="{Binding CompressLargeStyle}"/>
- </Button>
- <Button Name="Button_Sub" Grid.Row="1" Click="Button_Sub_Click" Background="White">
- <Path VerticalAlignment="Center" HorizontalAlignment="Center" Stroke="Black" Data="M0 8L4 16 L8 8" Height="10" Stretch="Fill" Visibility="{Binding CompressLargeStyle}"/>
- </Button>
- </Grid>
- </Grid>
- </UserControl>
|