NullableColorEditor
StockSharp.Xaml.PropertyGrid
无效颜色编辑器 。
继承自: Control
属性
Color
public Color? Color { get; set; }
value = nullableColorEditor.Color
nullableColorEditor.Color = value
颜色
IsEditable
public bool IsEditable { get; set; }
value = nullableColorEditor.IsEditable
nullableColorEditor.IsEditable = value
颜色可以编辑。
方法
OnApplyTemplate
public override void OnApplyTemplate()
nullableColorEditor.OnApplyTemplate()
当应用了新的模板时,为 LayoutTransformer 控制构建可视化树 。
字段
ColorProperty
public static readonly DependencyProperty ColorProperty
value = NullableColorEditor.ColorProperty
DependencyProperty for Color.
IsEditableProperty
public static readonly DependencyProperty IsEditableProperty
value = NullableColorEditor.IsEditableProperty
DependencyProperty 为IsEditable.