Table of Contents

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 float

The current value.

range FloatRangeAttribute

The range of valid values the user can select.

editorService IWindowsFormsEditorService

The 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 float

The current value.

editorService IWindowsFormsEditorService

The editor service used to display the dropdown control.

Returns

float

The value set by the user.