Class GorgonSelectablePanel
A Panel that can receive keyboard focus.
Inheritance
Inherited Members
Namespace: Gorgon.UI
Assembly: Gorgon.Windows.dll
Syntax
[ToolboxBitmap(typeof(GorgonSelectablePanel), "Resources.GorgonSelectablePanel.bmp")]
public class GorgonSelectablePanel : Panel, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
| Edit this page View SourceGorgonSelectablePanel()
Initializes a new instance of the GorgonSelectablePanel class.
Declaration
public GorgonSelectablePanel()
Properties
| Edit this page View SourceShowFocus
Property to set or return whether to show the focus rectangle when the control is focused.
Declaration
[Browsable(true)]
public bool ShowFocus { get; set; }
Property Value
Type | Description |
---|---|
bool |
TabStop
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
Declaration
[Browsable(true)]
public bool TabStop { get; set; }
Property Value
Type | Description |
---|---|
bool | true if the user can give the focus to the control using the TAB key; otherwise, false. The default is false. |
Methods
| Edit this page View SourceOnEnter(EventArgs)
Raises the Enter event.
Declaration
protected override void OnEnter(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | An EventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnLeave(EventArgs)
Raises the Leave event.
Declaration
protected override void OnLeave(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | An EventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnPaint(PaintEventArgs)
Raises the Paint event.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
PaintEventArgs | e | A PaintEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnPrint(PaintEventArgs)
Raises the RenderToBitmap event.
Declaration
protected override void OnPrint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
PaintEventArgs | e | A PaintEventArgs that contains the event data. |
Overrides
| Edit this page View SourceOnResize(EventArgs)
Handles the Resize event.
Declaration
protected override void OnResize(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e | The EventArgs instance containing the event data. |
Overrides
| Edit this page View SourceWndProc(ref Message)
Function to process window messages.
Declaration
protected override void WndProc(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
Message | m | The Windows Message to process. |
Overrides
Events
| Edit this page View SourceRenderToBitmap
Event triggered when drawing this control to a bitmap.
Declaration
public event EventHandler<PaintEventArgs> RenderToBitmap
Event Type
Type | Description |
---|---|
EventHandler<PaintEventArgs> |