Table of Contents

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
object
SliderEditor
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

value double

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

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

value double

The current value.

editorService IWindowsFormsEditorService

The editor service used to display the dropdown control.

Returns

double

The value set by the user.