Explorar o código

[修复]TextBox绑定CornerRadius失败问题

Jiangsheng hai 2 semanas
pai
achega
1850f6cdda
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      SKMC.UI/Styles/TextBox.xaml

+ 1 - 2
SKMC.UI/Styles/TextBox.xaml

@@ -209,8 +209,7 @@
                         <Border
                             x:Name="boder"
                             Background="{Binding Background, RelativeSource={RelativeSource TemplatedParent}}"
-                            BorderThickness="{TemplateBinding BorderThickness}"
-                            CornerRadius="{Binding CornerRadius, RelativeSource={RelativeSource TemplatedParent}}">
+                            BorderThickness="{TemplateBinding BorderThickness}">
                             <FrameworkElement.Style>
                                 <Style TargetType="{x:Type Border}">
                                     <Setter Property="BorderBrush" Value="{DynamicResource Brush.Border}" />