1234567891011121314151617181920212223242526272829303132 |
- <UserControl x:Class="PDF_Master.Views.Scan.Redress"
- 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_Master.Views.Scan"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Border Background="{StaticResource color.sys.layout.anti}" Width="320" Height="144" CornerRadius="8" >
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="16"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="16"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="16"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="16"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="16"/>
- </Grid.RowDefinitions>
- <TextBox x:Name="TextInput"
- Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:Redress}, Path=TextBoxContext}"
- Grid.Row="1" Grid.Column="1" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto"/>
- <StackPanel Grid.Row="3" Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal">
- <Button x:Name="BtnApply" Content="Apply" Style="{StaticResource Btn.cta}" Width="80" Height="32" Click="BtnApply_Click" />
- <Button x:Name="BtnCancel" Content="Cancel" Style="{StaticResource btn.sec}" Width="80" Height="32" Margin="16,0,0,0" Click="BtnCancel_Click"/>
- </StackPanel>
- </Grid>
- </Border>
- </UserControl>
|