Class GorgonAlignmentPicker
A control used to provide a visual means of specifying an anchor setting.
Inheritance
GorgonAlignmentPicker
Implements
Inherited Members
Namespace: Gorgon.UI
Assembly: Gorgon.Windows.dll
Syntax
public class GorgonAlignmentPicker : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
| Edit this page View SourceGorgonAlignmentPicker()
Initializes a new instance of the GorgonAlignmentPicker class.
Declaration
public GorgonAlignmentPicker()
Properties
| Edit this page View SourceAlignment
Property to return the currently selected alignment.
Declaration
[Browsable(true)]
public Alignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment |
Methods
| Edit this page View SourceDispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true if managed resources should be disposed; otherwise, false. |
Overrides
| Edit this page View SourceSetBoundsCore(int, int, int, int, BoundsSpecified)
Performs the work of setting the specified bounds of this control.
Declaration
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
Parameters
Type | Name | Description |
---|---|---|
int | x | The new Left property value of the control. |
int | y | The new Top property value of the control. |
int | width | The new Width property value of the control. |
int | height | The new Height property value of the control. |
BoundsSpecified | specified | A bitwise combination of the BoundsSpecified values. |
Overrides
Events
| Edit this page View SourceAlignmentChanged
Event triggered when the alignment value changes.
Declaration
public event EventHandler AlignmentChanged
Event Type
Type | Description |
---|---|
EventHandler |