mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
* Improved styling so it looks more Fluent and native to W10 * CanvasZone border is now using the active accent color * Updated GridZone to a similiar Fluent styling as the CanvasZone. Added a mouseover state to the GridResizer.
32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<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"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
d:DesignHeight="450"
|
|
d:DesignWidth="800"
|
|
Background="{StaticResource GridZoneBackgroundBrush}"
|
|
BorderBrush="{Binding Source={x:Static SystemParameters.WindowGlassBrush}}"
|
|
BorderThickness="1"
|
|
Opacity="0.8"
|
|
mc:Ignorable="d">
|
|
<Grid x:Name="Frame">
|
|
<Canvas x:Name="Body" />
|
|
<Label
|
|
Name="LabelID"
|
|
Grid.Row="3"
|
|
Grid.Column="2"
|
|
Canvas.Left="10"
|
|
Canvas.Bottom="10"
|
|
HorizontalContentAlignment="Center"
|
|
VerticalContentAlignment="Center"
|
|
Content="ID"
|
|
FontFamily="Segoe UI Light"
|
|
FontSize="64"
|
|
Foreground="White" />
|
|
<!--<TextBlock Margin="2" Text="Shift Key switches direction Ctrl Key repeats"/>-->
|
|
</Grid>
|
|
</UserControl>
|