Table of Contents

Class UnitEditor

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

The control for the class object Unit editing.

public class UnitEditor : BaseEdit
Inheritance
UnitEditor
Extension Methods

Constructors

UnitEditor()

Create instance.

public UnitEditor()

Fields

MaxValueProperty

Max value.

public static readonly DependencyProperty MaxValueProperty

Field Value

DependencyProperty

MinValueProperty

Min value.

public static readonly DependencyProperty MinValueProperty

Field Value

DependencyProperty

ShowTypeSelectorProperty

public static readonly DependencyProperty ShowTypeSelectorProperty

Field Value

DependencyProperty

SupportAbsoluteProperty

Support Absolute.

public static readonly DependencyProperty SupportAbsoluteProperty

Field Value

DependencyProperty

SupportLimitTypeProperty

Support Limit.

public static readonly DependencyProperty SupportLimitTypeProperty

Field Value

DependencyProperty

SupportPercentProperty

Support Percent.

public static readonly DependencyProperty SupportPercentProperty

Field Value

DependencyProperty

SupportPointTypeProperty

Support Point.

public static readonly DependencyProperty SupportPointTypeProperty

Field Value

DependencyProperty

SupportStepTypeProperty

Support Step.

public static readonly DependencyProperty SupportStepTypeProperty

Field Value

DependencyProperty

UnitTypeProperty

Unit type.

public static readonly DependencyProperty UnitTypeProperty

Field Value

DependencyProperty

UnitValueProperty

Unit value.

public static readonly DependencyProperty UnitValueProperty

Field Value

DependencyProperty

Properties

DefaultSupportLegacyTypes

public static bool DefaultSupportLegacyTypes { get; set; }

Property Value

bool

MaxValue

Max value.

public decimal? MaxValue { get; set; }

Property Value

decimal?

MinValue

Min value.

public decimal? MinValue { get; set; }

Property Value

decimal?

ShowTypeSelector

Show type selector.

public bool ShowTypeSelector { get; }

Property Value

bool

SupportAbsolute

Support Absolute.

public bool SupportAbsolute { get; set; }

Property Value

bool

SupportLimitType

Support Limit.

public bool SupportLimitType { get; set; }

Property Value

bool

SupportPercent

Support Percent.

public bool SupportPercent { get; set; }

Property Value

bool

SupportPointType

Support Point.

public bool SupportPointType { get; set; }

Property Value

bool

SupportStepType

Support Step.

public bool SupportStepType { get; set; }

Property Value

bool

SupportedTypes

Supported unit types.

public IEnumerable<UnitTypes> SupportedTypes { get; }

Property Value

IEnumerable<UnitTypes>

UnitType

Unit type.

public UnitTypes UnitType { get; set; }

Property Value

UnitTypes

UnitValue

Unit value.

public decimal UnitValue { get; set; }

Property Value

decimal

Methods

CreateEditStrategy()

protected override EditStrategyBase CreateEditStrategy()

Returns

EditStrategyBase

CreateEditorSettings()

protected override BaseEditSettings CreateEditorSettings()

Returns

BaseEditSettings

NeedsTab()

protected override bool NeedsTab()

Returns

bool