<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:local="clr-namespace:HMI.Base"
|
xmlns:ui="clr-namespace:HMI.UI;assembly=HMI.UI">
|
<Style TargetType="local:SimpleMaskControl">
|
<Setter Property="Template">
|
<Setter.Value>
|
<ControlTemplate TargetType="local:SimpleMaskControl">
|
<Grid Background="{TemplateBinding Background}">
|
<ContentPresenter Content="{TemplateBinding Content}"/>
|
|
<ui:MaskControl x:Name="mask"/>
|
</Grid>
|
</ControlTemplate>
|
</Setter.Value>
|
</Setter>
|
</Style>
|
|
<Style TargetType="local:PluginMaskControl">
|
<Setter Property="Template">
|
<Setter.Value>
|
<ControlTemplate TargetType="local:PluginMaskControl">
|
<Grid>
|
<ContentPresenter Content="{TemplateBinding Content}"/>
|
|
<ui:MaskControl x:Name="mask"/>
|
</Grid>
|
</ControlTemplate>
|
</Setter.Value>
|
</Setter>
|
</Style>
|
</ResourceDictionary>
|