UnitEditor

StockSharp.Xaml

The control for the class object Unit editing.

Inherits: BaseEdit

Constructors

UnitEditor
public UnitEditor()
unitEditor = UnitEditor()

Create instance.

Properties

DefaultSupportLegacyTypes
public static bool DefaultSupportLegacyTypes { get; set; }
value = UnitEditor.DefaultSupportLegacyTypes
UnitEditor.DefaultSupportLegacyTypes = value

Default value for SupportStepType, SupportLimitType, SupportPointType.

MaxValue
public decimal? MaxValue { get; set; }
value = unitEditor.MaxValue
unitEditor.MaxValue = value

Max value.

MinValue
public decimal? MinValue { get; set; }
value = unitEditor.MinValue
unitEditor.MinValue = value

Min value.

ShowTypeSelector
public bool ShowTypeSelector { get; private set; }
value = unitEditor.ShowTypeSelector
unitEditor.ShowTypeSelector = value

Show type selector.

SupportAbsolute
public bool SupportAbsolute { get; set; }
value = unitEditor.SupportAbsolute
unitEditor.SupportAbsolute = value

Support Absolute.

SupportedTypes
public IEnumerable<UnitTypes> SupportedTypes { get; private set; }
value = unitEditor.SupportedTypes
unitEditor.SupportedTypes = value

Supported unit types.

SupportLimitType
public bool SupportLimitType { get; set; }
value = unitEditor.SupportLimitType
unitEditor.SupportLimitType = value

Support Limit.

SupportPercent
public bool SupportPercent { get; set; }
value = unitEditor.SupportPercent
unitEditor.SupportPercent = value

Support Percent.

SupportPointType
public bool SupportPointType { get; set; }
value = unitEditor.SupportPointType
unitEditor.SupportPointType = value

Support Point.

SupportStepType
public bool SupportStepType { get; set; }
value = unitEditor.SupportStepType
unitEditor.SupportStepType = value

Support Step.

UnitType
public UnitTypes UnitType { get; set; }
value = unitEditor.UnitType
unitEditor.UnitType = value

Unit type.

UnitValue
public decimal? UnitValue { get; set; }
value = unitEditor.UnitValue
unitEditor.UnitValue = value

Unit value.

Methods

CreateEditorSettings
protected override BaseEditSettings CreateEditorSettings()
result = unitEditor.CreateEditorSettings()
CreateEditStrategy
protected override EditStrategyBase CreateEditStrategy()
result = unitEditor.CreateEditStrategy()
NeedsTab
protected override bool NeedsTab()
result = unitEditor.NeedsTab()

Fields

MaxValueProperty
public static readonly DependencyProperty MaxValueProperty
value = UnitEditor.MaxValueProperty

Max value.

MinValueProperty
public static readonly DependencyProperty MinValueProperty
value = UnitEditor.MinValueProperty

Min value.

ShowTypeSelectorProperty
public static readonly DependencyProperty ShowTypeSelectorProperty
value = UnitEditor.ShowTypeSelectorProperty

DependencyProperty for ShowTypeSelector.

SupportAbsoluteProperty
public static readonly DependencyProperty SupportAbsoluteProperty
value = UnitEditor.SupportAbsoluteProperty

Support Absolute.

SupportLimitTypeProperty
public static readonly DependencyProperty SupportLimitTypeProperty
value = UnitEditor.SupportLimitTypeProperty

Support Limit.

SupportPercentProperty
public static readonly DependencyProperty SupportPercentProperty
value = UnitEditor.SupportPercentProperty

Support Percent.

SupportPointTypeProperty
public static readonly DependencyProperty SupportPointTypeProperty
value = UnitEditor.SupportPointTypeProperty

Support Point.

SupportStepTypeProperty
public static readonly DependencyProperty SupportStepTypeProperty
value = UnitEditor.SupportStepTypeProperty

Support Step.

UnitTypeProperty
public static readonly DependencyProperty UnitTypeProperty
value = UnitEditor.UnitTypeProperty

Unit type.

UnitValueProperty
public static readonly DependencyProperty UnitValueProperty
value = UnitEditor.UnitValueProperty

Unit value.