Open
Description
If I try to redefine the template of a button like this the contentpresenter doesn't work. But with ContentControl it's working !
<Style x:Name="EmptyButtonStyle" TargetType="Button">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<ContentControl Content="{TemplateBinding Content}"/>
<!--<ContentPresenter></ContentPresenter>-->
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Metadata
Metadata
Assignees
Labels
No labels