Table of Contents

Class SliderEditor

Namespace
NanoByte.Common.Values.Design
Assembly
NanoByte.Common.WinForms.dll

An editor that can be associated with float or double properties to provide a TrackBar interface.

public class SliderEditor : NumericEditor
Inheritance
object
SliderEditor
Inherited Members
Extension Methods

Methods

EditValue(double, RangeAttribute, IWindowsFormsEditorService)

Displays the UI to edit the float value.

protected override double EditValue(double value, RangeAttribute range, IWindowsFormsEditorService editorService)

Parameters

value double

The current value.

range RangeAttribute

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.