Answer the question
In order to leave comments, you need to log in
Why does the button disappear after adding a style?
<Window.Resources>
<Style TargetType="Button" x:Key="songStyle">
<Setter Property="Margin" Value="5"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Grid/>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question