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
System.Windows.DependencyProperty for ShowTypeSelector.
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.
[Obsolete("UnitTypes.Point is obsolete.")]
public static readonly DependencyProperty SupportPointTypeProperty
Field Value
- DependencyProperty
SupportStepTypeProperty
Support Step.
[Obsolete("UnitTypes.Step is obsolete.")]
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
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.
[Obsolete("UnitTypes.Point is obsolete.")]
public bool SupportPointType { get; set; }
Property Value
SupportStepType
Support Step.
[Obsolete("UnitTypes.Step is obsolete.")]
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()