Class SliderEditor
- Namespace
- OmegaEngine.Foundation.Design
- Assembly
- OmegaEngine.Foundation.dll
An editor that can be associated with float or double properties with values between 0 and 3 to provide a TrackBar interface.
public class SliderEditor : FloatEditor
- Inheritance
-
objectSliderEditor
- Inherited Members
Methods
EditValue(double, FloatRangeAttribute, IWindowsFormsEditorService)
Displays the UI to edit the float value.
protected override double EditValue(double value, FloatRangeAttribute range, IWindowsFormsEditorService editorService)
Parameters
valuedoubleThe current value.
rangeFloatRangeAttributeThe range of valid values the user can select.
editorServiceIWindowsFormsEditorServiceThe editor service used to display the dropdown control.
Returns
- double
The value set by the user.
EditValue(double, IWindowsFormsEditorService)
Displays the UI to edit the float value.
protected override double EditValue(double value, IWindowsFormsEditorService editorService)
Parameters
valuedoubleThe current value.
editorServiceIWindowsFormsEditorServiceThe editor service used to display the dropdown control.
Returns
- double
The value set by the user.