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.AngleEditor Class Reference

An editor that can be associated with float properties representing angles between 0 and 360 degrees. Uses AngleControl. More...

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

Public Member Functions

override bool GetPaintValueSupported (ITypeDescriptorContext context)
 
override void PaintValue (PaintValueEventArgs e)
 
- Public Member Functions inherited from OmegaEngine.Values.Design.FloatEditor
override UITypeEditorEditStyle GetEditStyle (ITypeDescriptorContext context)
 
override object EditValue (ITypeDescriptorContext context, IServiceProvider provider, object value)
 

Protected Member Functions

override float EditValue (float value, IWindowsFormsEditorService editorService)
 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.

 
override float EditValue (float value, FloatRangeAttribute range, IWindowsFormsEditorService editorService)
 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.

 

Detailed Description

An editor that can be associated with float properties representing angles between 0 and 360 degrees. Uses AngleControl.

See Also
FloatRangeAttribute

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