C# Class NanoByte.Common.Values.Design.FloatEditor

Inheritance: System.Drawing.Design.UITypeEditor
Datei anzeigen Open project: nano-byte/common

Public Methods

Method Description
EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object
GetEditStyle ( ITypeDescriptorContext context ) : UITypeEditorEditStyle

Protected Methods

Method Description
EditValue ( float value, FloatRangeAttribute range, IWindowsFormsEditorService editorService ) : float

Displays the UI to edit the float value.

EditValue ( float value, IWindowsFormsEditorService editorService ) : float

Displays the UI to edit the float value.

Method Details

EditValue() protected abstract method

Displays the UI to edit the float value.
protected abstract EditValue ( float value, FloatRangeAttribute range, IWindowsFormsEditorService editorService ) : float
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.
return float

EditValue() protected abstract method

Displays the UI to edit the float value.
protected abstract EditValue ( float value, IWindowsFormsEditorService editorService ) : float
value float The current value.
editorService IWindowsFormsEditorService The editor service used to display the dropdown control.
return float

EditValue() public method

public EditValue ( ITypeDescriptorContext context, IServiceProvider provider, object value ) : object
context ITypeDescriptorContext
provider IServiceProvider
value object
return object

GetEditStyle() public method

public GetEditStyle ( ITypeDescriptorContext context ) : UITypeEditorEditStyle
context ITypeDescriptorContext
return UITypeEditorEditStyle