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