wpf 圆角TextBox 样式

<Style x:Key="RoundCornerTextStyle" TargetType="{x:Type TextBox}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TextBox}">
<Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" CornerRadius="5" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" >
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>

上一篇:简学Python第一章__进入PY的世界


下一篇:Uncaught RangeError: Maximum call stack size exceeded 超出最大调用值