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
MinValueProperty
Min value.
public static readonly DependencyProperty MinValueProperty
Field Value
ShowTypeSelectorProperty
public static readonly DependencyProperty ShowTypeSelectorProperty
Field Value
SupportAbsoluteProperty
Support Absolute.
public static readonly DependencyProperty SupportAbsoluteProperty
Field Value
SupportLimitTypeProperty
Support Limit.
public static readonly DependencyProperty SupportLimitTypeProperty
Field Value
SupportPercentProperty
Support Percent.
public static readonly DependencyProperty SupportPercentProperty
Field Value
SupportPointTypeProperty
Support Point.
public static readonly DependencyProperty SupportPointTypeProperty
Field Value
SupportStepTypeProperty
Support Step.
public static readonly DependencyProperty SupportStepTypeProperty
Field Value
UnitTypeProperty
Unit type.
public static readonly DependencyProperty UnitTypeProperty
Field Value
UnitValueProperty
Unit value.
public static readonly DependencyProperty UnitValueProperty
Field Value
Properties
DefaultSupportLegacyTypes
Default value for SupportStepType, SupportLimitType, SupportPointType.
public static bool DefaultSupportLegacyTypes { get; set; }
Property Value
MaxValue
Max value.
public decimal? MaxValue { get; set; }
Property Value
MinValue
Min value.
public decimal? MinValue { get; set; }
Property Value
ShowTypeSelector
Show type selector.
public bool ShowTypeSelector { get; }
Property Value
SupportAbsolute
Support Absolute.
public bool SupportAbsolute { get; set; }
Property Value
SupportLimitType
Support Limit.
public bool SupportLimitType { get; set; }
Property Value
SupportPercent
Support Percent.
public bool SupportPercent { get; set; }
Property Value
SupportPointType
Support Point.
public bool SupportPointType { get; set; }
Property Value
SupportStepType
Support Step.
public bool SupportStepType { get; set; }
Property Value
SupportedTypes
Supported unit types.
public IEnumerable<UnitTypes> SupportedTypes { get; }
Property Value
UnitType
Unit type.
public UnitTypes UnitType { get; set; }
Property Value
UnitValue
Unit value.
public decimal UnitValue { get; set; }
Property Value
Methods
CreateEditStrategy()
protected override EditStrategyBase CreateEditStrategy()
Returns
- EditStrategyBase
CreateEditorSettings()
protected override BaseEditSettings CreateEditorSettings()
Returns
- BaseEditSettings
NeedsTab()
protected override bool NeedsTab()