55 xmlns : d =" http://schemas.microsoft.com/expression/blend/2008"
66 xmlns : local =" clr-namespace:ClipboardR.Panels"
77 mc : Ignorable =" d" >
8- <Grid HorizontalAlignment =" Center" VerticalAlignment =" Center"
9- MinWidth =" 250" MinHeight =" 200" MaxWidth =" 400" MaxHeight =" 600" >
8+ <Grid
9+ MinWidth =" 300" MinHeight =" 100"
10+ MaxWidth =" 340" MaxHeight =" 500" HorizontalAlignment =" Center" >
1011 <Grid .RowDefinitions>
1112 <RowDefinition Height =" 90*" />
1213 <RowDefinition Height =" 10*" />
1516 <ColumnDefinition Width =" 50*" />
1617 <ColumnDefinition Width =" 50*" />
1718 </Grid .ColumnDefinitions>
18- <Image x : Name =" PreImage"
19- HorizontalAlignment =" Center" Margin =" 5,5,5,5" VerticalAlignment =" Center"
20- Grid.ColumnSpan=" 2" Visibility =" Hidden" MinWidth =" 200" MinHeight =" 200"
21- MaxWidth =" 400" MaxHeight =" 500" />
22- <TextBox Grid.Row=" 0" Grid.Column=" 0" Grid.ColumnSpan=" 2" Grid.RowSpan=" 2"
23- x : Name =" TxtBoxPre" HorizontalAlignment =" Center" TextWrapping =" Wrap" VerticalAlignment =" Top"
24- Panel.ZIndex=" 1" FontSize =" 14" TextAlignment =" Justify" Padding =" 5,5,5,5"
25- MinWidth =" 200" MinHeight =" 200" MaxWidth =" 400" MaxHeight =" 500"
26- ScrollViewer.HorizontalScrollBarVisibility=" Auto" Focusable =" True"
27- VerticalScrollBarVisibility =" Auto" Text =" " GotFocus =" TxtBoxPre_GotFocus"
28- Margin =" 5,5,5,5" HorizontalContentAlignment =" Stretch"
29- TextChanged =" TxtBoxPre_TextChanged" IsReadOnly =" True" />
30- <Button Grid.Column=" 0" Grid.Row=" 1"
31- x : Name =" BtnCopy" Content =" Copy" HorizontalAlignment =" Center" VerticalAlignment =" Center"
32- MinWidth =" 50" MinHeight =" 20" Margin =" 0,5,0,5" Click =" BtnCopy_Click" />
33- <Button Grid.Column=" 1" Grid.Row=" 1"
34- x : Name =" BtnDelete" Content =" Delete" HorizontalAlignment =" Center"
35- VerticalAlignment =" Center" MinWidth =" 50" MinHeight =" 20"
36- Margin =" 0,5,0,5" Click =" BtnDelete_Click" />
19+ <Image Grid.Row=" 0" Grid.Column=" 0" Grid.ColumnSpan=" 2" Grid.RowSpan=" 1" Panel.ZIndex=" 0"
20+ x : Name =" PreImage" Margin =" 3,3,3,3"
21+ HorizontalAlignment =" Center" VerticalAlignment =" Center"
22+ Visibility =" Hidden"
23+ MaxWidth =" 320" MaxHeight =" 400" />
24+ <TextBox Grid.Row=" 0" Grid.Column=" 0" Grid.ColumnSpan=" 2" Grid.RowSpan=" 1" IsUndoEnabled =" False"
25+ x : Name =" TxtBoxPre" HorizontalAlignment =" Center"
26+ Panel.ZIndex=" 1" FontSize =" 14" TextAlignment =" Left" Padding =" 5,5,5,5"
27+ MaxWidth =" 320" MaxHeight =" 400" Focusable =" True"
28+ VerticalScrollBarVisibility="Auto" Text="<UserControl x:Class="ClipboardR.Panels.PreviewPanel"
 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:ClipboardR.Panels"
 mc:Ignorable="d">
 <Grid HorizontalAlignment="Center" VerticalAlignment="Center" 
 Margin="5, 5, 5, 5"
 MinWidth="410" MinHeight="620">
 <Grid.RowDefinitions>
 <RowDefinition Height="90*" />
 <RowDefinition Height="10*" />
 </Grid.RowDefinitions>
 <Grid.ColumnDefinitions>
 <ColumnDefinition Width="50*" />
 <ColumnDefinition Width="50*" />
 </Grid.ColumnDefinitions>
 <Image x:Name="PreImage" Margin="3,3,3,3"
 HorizontalAlignment="Center" VerticalAlignment="Center"
 Grid.ColumnSpan="2" Visibility="Hidden" Panel.ZIndex="0"
 MinWidth="410" MinHeight="100" 
 MaxWidth="420" MaxHeight="500" />
 <TextBox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="2" 
 x:Name="TxtBoxPre" HorizontalAlignment="Center" VerticalAlignment="Center"
 Panel.ZIndex="1" FontSize="14" TextAlignment="Left" Padding="3,3,3,3" 
 MinWidth="410" MinHeight="100" MaxWidth="420" MaxHeight="500" Focusable="True" 
 VerticalScrollBarVisibility="Auto" Text="finition Width=&quot;50*&quot; /&gt;&#xD;&#xA; &lt;/Grid.ColumnDefinitions&gt;&#xD;&#xA; &lt;Image x:Name=&quot;PreImage&quot; Margin=&quot;3,3,3,3&quot;&#xD;&#xA; HorizontalAlignment=&quot;Center&quot; VerticalAlignment=&quot;Center&quot;&#xD;&#xA; Grid.ColumnSpan=&quot;2&quot; Visibility=&quot;Hidden&quot; Panel.ZIndex=&quot;0&quot;&#xD;&#xA; MinWidth=&quot;410&quot; MinHeight=&quot;100&quot; &#xD;&#xA; MaxWidth=&quot;420&quot; MaxHeight=&quot;500&quot; /&gt;&#xD;&#xA; &lt;TextBox Grid.Row=&quot;0&quot; Grid.Column=&quot;0&quot; Grid.ColumnSpan=&quot;2&quot; Grid.RowSpan=&quot;2&quot; &#xD;&#xA; x:Name=&quot;TxtBoxPre&quot; HorizontalAlignment=&quot;Center&quot; VerticalAlignment=&quot;Center&quot;&#xD;&#xA; Panel.ZIndex=&quot;1&quot; FontSize=&quot;14&quot; TextAlignment=&quot;Left&quot; Padding=&quot;3,3,3,3&quot; &#xD;&#xA; MinWidth=&quot;410&quot; MinHeight=&quot;100&quot; MaxWidth=&quot;420&quot; MaxHeight=&quot;500&quot; Focusable=&quot;True&quot; &#xD;&#xA; VerticalScrollBarVisibility=&quot;Auto&quot; Text=&quot;dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd&amp;#xD;&amp;#xA;&quot; GotFocus=&quot;TxtBoxPre_GotFocus&quot; &#xD;&#xA; Margin=&quot;3,3,3,3&quot; HorizontalContentAlignment=&quot;Left&quot; &#xD;&#xA; TextChanged=&quot;TxtBoxPre_TextChanged&quot; IsReadOnly=&quot;True&quot; /&gt;&#xD;&#xA; &lt;Button Grid.Column=&quot;0&quot; Grid.Row=&quot;1&quot; &#xD;&#xA; x:Name=&quot;BtnCopy&quot; Content=&quot;Copy&quot; HorizontalAlignment" GotFocus="TxtBoxPre_GotFocus" 
 Margin="3,3,3,3" HorizontalContentAlignment="Left" 
 TextChanged="TxtBoxPre_TextChanged" IsReadOnly="True" />
 <Button Grid.Column="0" Grid.Row="1" 
 x:Name="BtnCopy" Content="Copy" HorizontalAlignment="Center" VerticalAlignment="Center"
 MinWidth="50" MinHeight="30" MaxWidth="50" MaxHeight="30" 
 Margin="5,5,5,5" Click="BtnCopy_Click" />
 <Button Grid.Column="1" Grid.Row="1" 
 x:Name="BtnDelete" Content="Delete" HorizontalAlignment="Center" VerticalAlignment="Center" 
 MinWidth="50" MinHeight="30" MaxWidth="50" MaxHeight="30" 
 Margin="5,5,5,5" Click="BtnDelete_Click" />
 </Grid>
</UserControl>" GotFocus="TxtBoxPre_GotFocus"
29+ Margin =" 5,5,5,5" HorizontalContentAlignment =" Left"
30+ TextChanged =" TxtBoxPre_TextChanged" IsReadOnly =" True" HorizontalScrollBarVisibility =" Auto" MinWidth =" 320" UseLayoutRounding =" False" />
31+ <Button Grid.Row=" 1" Grid.Column=" 0"
32+ x : Name =" BtnCopy" Content =" Copy"
33+ HorizontalAlignment =" Center" VerticalAlignment =" Bottom"
34+ Width =" 80" Height =" 30"
35+ Margin =" 5,5,5,5" Click =" BtnCopy_Click" />
36+ <Button Grid.Row=" 1" Grid.Column=" 1"
37+ x : Name =" BtnDelete" Content =" Delete"
38+ HorizontalAlignment =" Center" VerticalAlignment =" Bottom"
39+ Width =" 80" Height =" 30"
40+ Margin =" 5,5,5,5" Click =" BtnDelete_Click" />
3741 </Grid >
3842</UserControl >
0 commit comments