Files
cursor-lang/CursorLang/Views/LayoutPopupWindow.xaml
T

33 lines
1.3 KiB
XML

<Window x:Class="CursorLang.Views.LayoutPopupWindow"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:CursorLang.ViewModels"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=vm:LayoutPopupViewModel}"
WindowStyle="None"
ResizeMode="NoResize"
AllowsTransparency="True"
Background="Transparent"
ShowInTaskbar="False"
ShowActivated="False"
Topmost="True"
Focusable="False"
IsHitTestVisible="False"
Opacity="{Binding Settings.Opacity}">
<Border CornerRadius="4"
Padding="10,4">
<Border.Background>
<SolidColorBrush Color="{Binding Settings.BackgroundColor}" />
</Border.Background>
<TextBlock FontWeight="SemiBold"
FontSize="{Binding Settings.FontSize}"
Text="{Binding ShortName}">
<TextBlock.Foreground>
<SolidColorBrush Color="{Binding Settings.ForegroundColor}" />
</TextBlock.Foreground>
</TextBlock>
</Border>
</Window>