UnitEditor

StockSharp.Xaml

Элемент управления редактированием объекта класса Unit.

Наследует: BaseEdit

Конструкторы

UnitEditor
public UnitEditor()
unitEditor = UnitEditor()

Создать экземпляр.

Свойства

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

Значение по умолчанию для SupportStepType, SupportLimitType, SupportPointType.

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

Максимальное значение.

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

Минимальное значение.

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

Селекционер типа Show.

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

Поддержка Абсолют.

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

Поддерживаемые типы единиц.

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

Лимит поддержки.

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

Процент поддержки.

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

Точка поддержки.

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

Шаг поддержки.

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

Тип единицы.

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

Стоимость единицы.

Методы

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

Поля

MaxValueProperty
public static readonly DependencyProperty MaxValueProperty
value = UnitEditor.MaxValueProperty

Максимальное значение.

MinValueProperty
public static readonly DependencyProperty MinValueProperty
value = UnitEditor.MinValueProperty

Минимальное значение.

ShowTypeSelectorProperty
public static readonly DependencyProperty ShowTypeSelectorProperty
value = UnitEditor.ShowTypeSelectorProperty

DependencyProperty для ShowTypeSelector.

SupportAbsoluteProperty
public static readonly DependencyProperty SupportAbsoluteProperty
value = UnitEditor.SupportAbsoluteProperty

Поддержка Абсолют.

SupportLimitTypeProperty
public static readonly DependencyProperty SupportLimitTypeProperty
value = UnitEditor.SupportLimitTypeProperty

Лимит поддержки.

SupportPercentProperty
public static readonly DependencyProperty SupportPercentProperty
value = UnitEditor.SupportPercentProperty

Процент поддержки.

SupportPointTypeProperty
public static readonly DependencyProperty SupportPointTypeProperty
value = UnitEditor.SupportPointTypeProperty

Точка поддержки.

SupportStepTypeProperty
public static readonly DependencyProperty SupportStepTypeProperty
value = UnitEditor.SupportStepTypeProperty

Шаг поддержки.

UnitTypeProperty
public static readonly DependencyProperty UnitTypeProperty
value = UnitEditor.UnitTypeProperty

Тип единицы.

UnitValueProperty
public static readonly DependencyProperty UnitValueProperty
value = UnitEditor.UnitValueProperty

Стоимость единицы.