The Panel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Panel(String, Int32, Int32, Int32, Int32) |
Creates a new Panel
| |
Panel(String, Int32, Int32, Int32, Int32, Color) |
Creates a new Panel
|
Methods
Name | Description | |
---|---|---|
Activate |
Activates the control
(Inherited from Container.) | |
AddChild |
Adds a child control to the container
(Inherited from Container.) | |
Blur |
Deactivates the control
(Inherited from Container.) | |
BringControlToFront |
Updates the z-index of the specified control so it is rendered on top.
(Inherited from Container.) | |
ButtonPressedMessage |
Override this message to handle button pressed events internally.
(Overrides Control..::..ButtonPressedMessage(Int32, Boolean%).) | |
ButtonReleasedMessage |
Override this message to handle button released events internally.
(Overrides Control..::..ButtonReleasedMessage(Int32, Boolean%).) | |
ClearChildren |
Removes all children from container.
(Inherited from Container.) | |
Dispose |
Disposes the control
(Inherited from Control.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetChildByIndex |
Returns a child by its index.
(Inherited from Container.) | |
GetChildByName |
Gets a child control by its name.
(Inherited from Container.) | |
GetChildIndex |
Returns the index associated with the child.
(Inherited from Container.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
HitTest |
Checks if a point is inside of the control
(Inherited from Control.) | |
Invalidate()()()() |
Safely redraws control
(Inherited from Control.) | |
Invalidate(rect) |
Safely redraws control
(Inherited from Control.) | |
KeyboardAltKeyMessage |
Override this message to handle alt key events internally.
(Overrides Control..::..KeyboardAltKeyMessage(Int32, Boolean, Boolean%).) | |
KeyboardKeyMessage |
Override this message to handle key events internally.
(Overrides Container..::..KeyboardKeyMessage(Char, Boolean, Boolean%).) | |
MemberwiseClone | (Inherited from Object.) | |
NextChild |
Moves the focus from the active to the next child.
(Inherited from Container.) | |
OnButtonPressed |
Fires the ButtonPressed event
(Inherited from Control.) | |
OnButtonReleased |
Fires the ButtonReleased event
(Inherited from Control.) | |
OnDoubleTap |
Fires the DoubleTap event
(Inherited from Control.) | |
OnGotFocus |
Fires the GotFocus event
(Inherited from Control.) | |
OnKeyboardAltKey |
Fires the KeyboardAltKey event
(Inherited from Control.) | |
OnKeyboardKey |
Fires the KeyboardKey event
(Inherited from Control.) | |
OnLostFocus |
Fires the LostFocus event
(Inherited from Control.) | |
OnRender |
Renders the control contents
(Overrides Control..::..OnRender(Int32, Int32, Int32, Int32).) | |
OnTap |
Fires the Tap event
(Inherited from Control.) | |
OnTapHold |
Fires the TapHold event
(Inherited from Control.) | |
OnTouchDown |
Fires the TouchDown event
(Inherited from Control.) | |
OnTouchGesture |
Fires the TouchGesture event
(Inherited from Control.) | |
OnTouchMove |
Fires the TouchMove event
(Inherited from Control.) | |
OnTouchUp |
Fires the TouchUp event
(Inherited from Control.) | |
PreviousChild |
Moves the focus from the active to the previous child.
(Inherited from Container.) | |
QuiteUnsuspend |
Sets the containers Suspended property to false without redrawing the container
(Inherited from Container.) | |
RemoveChild |
Removes a child from the container
(Inherited from Container.) | |
RemoveChildAt |
Removes child by index
(Inherited from Container.) | |
Render(Boolean) |
Unsafely renders control
(Inherited from Control.) | |
Render(rect, Boolean) |
Unsafely renders control.
(Inherited from Container.) | |
SendButtonEvent |
Directly inform control of button events
(Inherited from Control.) | |
SendKeyboardAltKeyEvent |
Directly inform control of keyboard alt key events
(Inherited from Control.) | |
SendKeyboardKeyEvent |
Directly inform control of keyboard key events
(Inherited from Control.) | |
SendTouchDown |
Directly inform control of touch down event
(Inherited from Control.) | |
SendTouchGesture |
Directly inform control of touch gesture event
(Inherited from Control.) | |
SendTouchMove |
Directly inform control of touch move event
(Inherited from Control.) | |
SendTouchUp |
Directly inform control of touch up event
(Inherited from Control.) | |
ToString | (Inherited from Object.) | |
TouchDownMessage |
Override this message to handle touch events internally.
(Overrides Control..::..TouchDownMessage(Object, point, Boolean%).) | |
TouchGestureMessage |
Override this message to handle touch events internally.
(Overrides Control..::..TouchGestureMessage(Object, TouchType, Single, Boolean%).) | |
TouchMoveMessage |
Override this message to handle touch events internally.
(Overrides Control..::..TouchMoveMessage(Object, point, Boolean%).) | |
TouchUpMessage |
Override this message to handle touch events internally.
(Overrides Control..::..TouchUpMessage(Object, point, Boolean%).) | |
UpdateOffsets()()()() |
Update the X/Y position offset of the control
(Inherited from Control.) | |
UpdateOffsets(point) |
Update the X/Y position offset of the control
(Inherited from Control.) |
Properties
Name | Description | |
---|---|---|
ActiveChild |
Gets/Sets the control that is currently focused inside the container
(Inherited from Container.) | |
AutoScroll |
Gets/Sets AutoScroll feature for Panel
| |
BackColor |
Gets/Sets Panel's background color
| |
BackgroundImage |
Gets/Sets the background image to display on the Panel
| |
BackgroundImageScaleMode |
Gets/Sets the Scale Mode to use when rendering background image
| |
CanFocus |
Gets the controls ability to receive focus
(Inherited from Control.) | |
CanRender |
Gets the containers ability to be rendered
(Inherited from Container.) | |
Children |
Gets an array of children
(Inherited from Container.) | |
Disposing |
Gets the disposing state of the control
(Inherited from Control.) | |
DrawBorder |
Gets/Sets if the Panel should have a border
| |
Enabled |
Gets/Sets the enabled state of the control
(Inherited from Control.) | |
Focused |
Gets if the control is currently focused
(Inherited from Control.) | |
Height |
Gets/Sets the height of the control in pixels
(Inherited from Control.) | |
InternalSuspended |
Allows internally direct access to the Suspended flag of the control
(Inherited from Control.) | |
LastTouch |
Gets the coordinates of the last point touched
(Inherited from Control.) | |
Left |
Gets the absolute X position of the control accounting for parental offsets
(Inherited from Control.) | |
Location |
Gets or sets the location of the control
(Inherited from Control.) | |
Name |
Gets the name of the control
(Inherited from Control.) | |
Parent |
Gets/Sets the control's container
(Inherited from Control.) | |
ScreenBounds |
Gets the exact location of the control in pixels on the screen
(Inherited from Control.) | |
Suspended |
Gets/Sets the suspended state
(Inherited from Control.) | |
Tag |
Gets or sets a user defined tag for the control
(Inherited from Control.) | |
Top |
Gets the absolute Y position of the control accounting for parental offsets
(Inherited from Control.) | |
TopLevelContainer |
Returns the top-most parent
(Inherited from Container.) | |
Touching |
Gets the current touch state of the control
(Overrides Control..::..Touching.) | |
TransparentBackground |
Gets/Sets if the background is transparent
| |
Visible |
Gets/Sets the visibility of the control
(Inherited from Control.) | |
Width |
Gets/Sets the width of the control in pixels
(Inherited from Control.) | |
X |
Gets/Sets the X position in pixels
(Overrides Control..::..X.) | |
Y |
Gets/Sets the Y position in pixels
(Overrides Control..::..Y.) |
Events
Name | Description | |
---|---|---|
ButtonPressed |
Adds or removes callback methods for ButtonPressed events
(Inherited from Control.) | |
ButtonReleased |
Adds or removes callback methods for ButtonReleased events
(Inherited from Control.) | |
DoubleTap |
Adds or removes callback methods for DoubleTap events
(Inherited from Control.) | |
GotFocus |
Adds or removes callback methods for GotFocus events
(Inherited from Control.) | |
KeyboardAltKey |
Adds or removes callback methods for KeyboardAltKey events
(Inherited from Control.) | |
KeyboardKey |
Adds or removes callback methods for KeyboardKey events
(Inherited from Control.) | |
LostFocus |
Adds or removes callback methods for LostFocus events
(Inherited from Control.) | |
Tap |
Adds or removes callback methods for Tap events
(Inherited from Control.) | |
TapHold |
Adds or removes callback methods for TapHold events
(Inherited from Control.) | |
TouchDown |
Adds or removes callback methods for TouchDown events
(Inherited from Control.) | |
TouchGesture |
Adds or removes callback methods for TouchGesture events
(Inherited from Control.) | |
TouchMove |
Adds or removes callback methods for TouchMove events
(Inherited from Control.) | |
TouchUp |
Adds or removes callback methods for TouchUp events
(Inherited from Control.) |