OmegaEngine API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | List of all members
OmegaEngine.Values.Design.FloatEditor Class Referenceabstract

Abstract base class for drop-down PropertyGrid editors that can be associated with float properties. More...

Inheritance diagram for OmegaEngine.Values.Design.FloatEditor:
OmegaEngine.Values.Design.AngleEditor OmegaEngine.Values.Design.SliderEditor

Public Member Functions

override UITypeEditorEditStyle GetEditStyle (ITypeDescriptorContext context)
 
override object EditValue (ITypeDescriptorContext context, IServiceProvider provider, object value)
 

Protected Member Functions

abstract float EditValue (float value, IWindowsFormsEditorService editorService)
 Displays the UI to edit the float value. More...
 
abstract float EditValue (float value, FloatRangeAttribute range, IWindowsFormsEditorService editorService)
 Displays the UI to edit the float value. More...
 

Detailed Description

Abstract base class for drop-down PropertyGrid editors that can be associated with float properties.

Member Function Documentation

abstract float OmegaEngine.Values.Design.FloatEditor.EditValue ( float  value,
IWindowsFormsEditorService  editorService 
)
protectedpure virtual

Displays the UI to edit the float value.

Parameters
valueThe current value.
editorServiceThe editor service used to display the dropdown control.
Returns
The value set by the user.

Implemented in OmegaEngine.Values.Design.AngleEditor, and OmegaEngine.Values.Design.SliderEditor.

abstract float OmegaEngine.Values.Design.FloatEditor.EditValue ( float  value,
FloatRangeAttribute  range,
IWindowsFormsEditorService  editorService 
)
protectedpure virtual

Displays the UI to edit the float value.

Parameters
valueThe current value.
rangeThe range of valid values the user can select.
editorServiceThe editor service used to display the dropdown control.
Returns
The value set by the user.

Implemented in OmegaEngine.Values.Design.AngleEditor, and OmegaEngine.Values.Design.SliderEditor.


The documentation for this class was generated from the following file: