29 lines
1.4 KiB
Plaintext
29 lines
1.4 KiB
Plaintext
|
<CheckBox x:Class="MECF.Framework.UI.Client.CenterViews.Configs.SignalTowerConfig.RadioCheckBox"
|
||
|
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"
|
||
|
xmlns:local="clr-namespace:MECF.Framework.UI.Client.CenterViews.Configs.SignalTowerConfig"
|
||
|
mc:Ignorable="d"
|
||
|
d:DesignHeight="450" d:DesignWidth="800">
|
||
|
<CheckBox.Style>
|
||
|
<Style TargetType="{x:Type local:RadioCheckBox}">
|
||
|
<Setter Property="Template">
|
||
|
<Setter.Value>
|
||
|
<ControlTemplate TargetType="{x:Type local:RadioCheckBox}">
|
||
|
<Grid>
|
||
|
<RadioButton
|
||
|
IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent},
|
||
|
Path=IsChecked, Mode=TwoWay}"
|
||
|
IsHitTestVisible="False" />
|
||
|
<CheckBox
|
||
|
IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent},
|
||
|
Path=IsChecked, Mode=TwoWay}" Opacity="0"/>
|
||
|
</Grid>
|
||
|
</ControlTemplate>
|
||
|
</Setter.Value>
|
||
|
</Setter>
|
||
|
</Style>
|
||
|
</CheckBox.Style>
|
||
|
</CheckBox>
|