Answer the question
In order to leave comments, you need to log in
Using templates in WPF?
<Style TargetType="TextBox">
<Setter Property="Margin" Value="5" />
<Setter Property="Background" Value="White"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TextBox">
<Border CornerRadius="10" Padding="2">
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
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