SystemTrayMenu/UserInterface/ColorSelector.xaml
2023-06-04 16:41:48 +02:00

17 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2022-2023 Peter Kirmeier -->
<UserControl 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"
x:Class="SystemTrayMenu.UserInterface.ColorSelector"
mc:Ignorable="d">
<StackPanel Orientation="Horizontal">
<Border x:Name="pane" x:FieldModifier="private" d:Background="#FF007F" BorderThickness="1" BorderBrush="Gray"
Height="{Binding RelativeSource={RelativeSource Self}, Path=Parent.ActualHeight}"
Width="{Binding Path=Height, RelativeSource={RelativeSource Self}}" MouseDown="Shape_MouseDown"/>
<TextBox x:Name="txtbox" x:FieldModifier="private" Margin="2,0,5,0" VerticalContentAlignment="Center" Width="70" TextChanged="Txtbox_TextChanged" d:Text="#FF007F"/>
<Label x:Name="label" x:FieldModifier="private" Padding="0" VerticalContentAlignment="Center" />
</StackPanel>
</UserControl>