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
valuefloatThe current value.
rangeFloatRangeAttributeThe range of valid values the user can select.
editorServiceIWindowsFormsEditorServiceThe 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
valuefloatThe current value.
editorServiceIWindowsFormsEditorServiceThe editor service used to display the dropdown control.
Returns
- float
The value set by the user.