<pu:WindowX x:Class="HMI.UI.MaskWindow"
|
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:local="clr-namespace:HMI.UI"
|
mc:Ignorable="d"
|
xmlns:pw="https://opensource.panuon.com/wpf"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
pu:WindowXCaption.Buttons="None"
|
pu:WindowXCaption.Height="0"
|
ResizeMode="NoResize"
|
SizeToContent="WidthAndHeight"
|
Height="20"
|
CanClose="False"
|
WindowStyle="None"
|
x:Name="self"
|
WindowStartupLocation="CenterOwner">
|
<WindowChrome.WindowChrome>
|
<WindowChrome GlassFrameThickness="-1"/>
|
</WindowChrome.WindowChrome>
|
<Window.Style>
|
<Style TargetType="Window">
|
<Style.Triggers>
|
<DataTrigger Binding="{Binding Status}" Value="Info">
|
<Setter Property="Background" Value="{StaticResource VerBar}"/>
|
</DataTrigger>
|
</Style.Triggers>
|
</Style>
|
</Window.Style>
|
<Grid>
|
<Label x:Name="label"
|
Margin="20"
|
VerticalContentAlignment="Center"
|
HorizontalContentAlignment="Center"
|
FontSize="20" FontWeight="Bold" Foreground="White"/>
|
</Grid>
|
</pu:WindowX>
|