NullableColorEditor

StockSharp.Xaml.PropertyGrid

Editor for nullable Color.

Inherits: Control

Properties

Color
public Color? Color { get; set; }
value = nullableColorEditor.Color
nullableColorEditor.Color = value

Color.

IsEditable
public bool IsEditable { get; set; }
value = nullableColorEditor.IsEditable
nullableColorEditor.IsEditable = value

Is color editable.

Methods

OnApplyTemplate
public override void OnApplyTemplate()
nullableColorEditor.OnApplyTemplate()

Builds the visual tree for the LayoutTransformer control when a new template is applied.

Fields

ColorProperty
public static readonly DependencyProperty ColorProperty
value = NullableColorEditor.ColorProperty

DependencyProperty for Color.

IsEditableProperty
public static readonly DependencyProperty IsEditableProperty
value = NullableColorEditor.IsEditableProperty

DependencyProperty for IsEditable.