imradv3 / src /ScreenGrab /UcCharacter.xaml
fasdfsa's picture
add ScreenGrab
68dd90e
<UserControl
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d"
x:Class="ScreenGrab.UcCharacter"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Border
BorderBrush="White"
BorderThickness="1"
Margin="2,0"
MinWidth="26"
Padding="3">
<Border.Resources>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="White" />
<Setter Property="FontSize" Value="14" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
</Border.Resources>
<TextBlock Text="{Binding DisplayChar, RelativeSource={RelativeSource AncestorType=UserControl}}" x:Name="CharacterText" />
</Border>
</UserControl>