22 lines
1.0 KiB
XML
22 lines
1.0 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:hc="clr-namespace:HandyControl.Controls">
|
|
|
|
<Style TargetType="hc:Notification">
|
|
<Setter Property="hc:WindowAttach.IgnoreAltF4" Value="True"/>
|
|
<Setter Property="hc:WindowAttach.ShowInTaskManager" Value="False"/>
|
|
<Setter Property="SizeToContent" Value="WidthAndHeight"/>
|
|
<Setter Property="ResizeMode" Value="NoResize"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="ShowActivated" Value="False"/>
|
|
<Setter Property="ShowInTaskbar" Value="False"/>
|
|
<Setter Property="Topmost" Value="True"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="hc:Notification">
|
|
<ContentPresenter Margin="{TemplateBinding Padding}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
</ResourceDictionary> |