2020-03-27 13:07:19 +01:00
|
|
|
<UserControl
|
|
|
|
|
x:Class="FancyZonesEditor.GridZone"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:local="clr-namespace:FancyZonesEditor"
|
2021-01-27 21:33:52 +03:00
|
|
|
xmlns:props="clr-namespace:FancyZonesEditor.Properties"
|
2020-03-27 13:07:19 +01:00
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2021-02-22 10:50:33 +01:00
|
|
|
xmlns:ui="http://schemas.modernwpf.com/2019"
|
2020-03-27 13:07:19 +01:00
|
|
|
d:DesignHeight="450"
|
|
|
|
|
d:DesignWidth="800"
|
2021-01-27 21:33:52 +03:00
|
|
|
Background="{DynamicResource GridZoneBackgroundBrush}"
|
2021-03-09 19:39:01 +01:00
|
|
|
BorderBrush="{DynamicResource SystemControlBackgroundAccentBrush}"
|
2020-03-27 13:07:19 +01:00
|
|
|
BorderThickness="1"
|
2021-01-27 21:33:52 +03:00
|
|
|
Opacity="1"
|
2021-02-22 10:50:33 +01:00
|
|
|
ui:ControlHelper.CornerRadius="4"
|
2020-03-27 13:07:19 +01:00
|
|
|
mc:Ignorable="d">
|
2021-02-22 10:50:33 +01:00
|
|
|
|
2020-03-27 13:07:19 +01:00
|
|
|
<Grid x:Name="Frame">
|
2019-09-04 18:26:26 +02:00
|
|
|
<Canvas x:Name="Body" />
|
2021-02-03 20:15:16 +03:00
|
|
|
<DockPanel HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center">
|
|
|
|
|
<Label
|
|
|
|
|
Name="LabelID"
|
|
|
|
|
DockPanel.Dock="Top"
|
|
|
|
|
HorizontalContentAlignment="Center"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
Content="ID"
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
FontSize="64"
|
|
|
|
|
Foreground="{DynamicResource PrimaryForegroundBrush}" />
|
2021-02-19 14:17:13 +01:00
|
|
|
<TextBlock FontSize="16"
|
|
|
|
|
Foreground="{DynamicResource SecondaryForegroundBrush}"
|
|
|
|
|
DockPanel.Dock="Bottom"
|
|
|
|
|
FontWeight="SemiBold"
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
VerticalAlignment="Center">
|
|
|
|
|
<Run x:Name="WidthLabel" />
|
|
|
|
|
<Run Text=""
|
|
|
|
|
FontSize="10"
|
|
|
|
|
FontFamily="Segoe MDL2 Assets" />
|
|
|
|
|
<Run x:Name="HeightLabel" />
|
|
|
|
|
</TextBlock>
|
2021-02-03 20:15:16 +03:00
|
|
|
|
|
|
|
|
</DockPanel>
|
2019-09-04 18:26:26 +02:00
|
|
|
<!--<TextBlock Margin="2" Text="Shift Key switches direction Ctrl Key repeats"/>-->
|
|
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|