Hello,
I want to use a global style for th checkbox.
If i run:
What's happened ?
I want to use a global style for th checkbox.
If i run:
<ControlTemplate TargetType="{x:Type xctk:SelectorItem}">
<Border x:Name="_background" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<CheckBox Content="{TemplateBinding Content}" />
</Border>
...
The checkBox only is display, but if i run :<ControlTemplate TargetType="{x:Type xctk:SelectorItem}">
<Border x:Name="_background" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<CheckBox Content=kjhdslkjf" />
</Border>
...
I can see the text and the checkboxWhat's happened ?