Exemple #1
0
 protected override Brush Convert(string value) => CoerceUtils.CoerceBrushFrom(value);
Exemple #2
0
 static ToggleStrip()
 {
     DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleStrip), new FrameworkPropertyMetadata(typeof(ToggleStrip)));
     BorderThicknessProperty.OverrideMetadata(typeof(ToggleStrip), new FrameworkPropertyMetadata(new Thickness(1)));
     BorderBrushProperty.OverrideMetadata(typeof(ToggleStrip), new FrameworkPropertyMetadata(CoerceUtils.CoerceBrushFrom("#202020")));
 }