Class AngleControl
- Namespace
- OmegaEngine.Foundation.Design
- Assembly
- OmegaEngine.Foundation.dll
Allows the input of angles between 0 and 360 degrees by clicking in a circle.
public class AngleControl : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
AngleControl
- Implements
- Inherited Members
- Extension Methods
Constructors
AngleControl()
public AngleControl()
Properties
Angle
The angle between 0 and 360 degrees.
public float Angle { get; set; }
Property Value
Range
An optional limit to the valid degree values. (Limits beyond 0° and 360° are ignored.)
public FloatRangeAttribute? Range { get; set; }
Property Value
Methods
OnMouseDown(MouseEventArgs)
Raises the MouseDown event.
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
MouseEventArgsA MouseEventArgs that contains the event data.
OnMouseMove(MouseEventArgs)
Raises the MouseMove event.
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
MouseEventArgsA MouseEventArgs that contains the event data.
OnPaint(PaintEventArgs)
Raises the Paint event.
protected override void OnPaint(PaintEventArgs e)
Parameters
e
PaintEventArgsA PaintEventArgs that contains the event data.