The Panel type exposes the following members.

Constructors

  NameDescription
Public methodPanel(String, Int32, Int32, Int32, Int32)
Creates a new Panel
Public methodPanel(String, Int32, Int32, Int32, Int32, Color)
Creates a new Panel

Methods

  NameDescription
Public methodActivate
Activates the control
(Inherited from Container.)
Public methodAddChild
Adds a child control to the container
(Inherited from Container.)
Public methodBlur
Deactivates the control
(Inherited from Container.)
Public methodBringControlToFront
Updates the z-index of the specified control so it is rendered on top.
(Inherited from Container.)
Protected methodButtonPressedMessage
Override this message to handle button pressed events internally.
(Overrides Control..::..ButtonPressedMessage(Int32, Boolean%).)
Protected methodButtonReleasedMessage
Override this message to handle button released events internally.
(Overrides Control..::..ButtonReleasedMessage(Int32, Boolean%).)
Public methodClearChildren
Removes all children from container.
(Inherited from Container.)
Public methodDispose
Disposes the control
(Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetChildByIndex
Returns a child by its index.
(Inherited from Container.)
Public methodGetChildByName
Gets a child control by its name.
(Inherited from Container.)
Public methodGetChildIndex
Returns the index associated with the child.
(Inherited from Container.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHitTest
Checks if a point is inside of the control
(Inherited from Control.)
Public methodInvalidate()()()()
Safely redraws control
(Inherited from Control.)
Public methodInvalidate(rect)
Safely redraws control
(Inherited from Control.)
Protected methodKeyboardAltKeyMessage
Override this message to handle alt key events internally.
(Overrides Control..::..KeyboardAltKeyMessage(Int32, Boolean, Boolean%).)
Protected methodKeyboardKeyMessage
Override this message to handle key events internally.
(Overrides Container..::..KeyboardKeyMessage(Char, Boolean, Boolean%).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNextChild
Moves the focus from the active to the next child.
(Inherited from Container.)
Protected methodOnButtonPressed
Fires the ButtonPressed event
(Inherited from Control.)
Protected methodOnButtonReleased
Fires the ButtonReleased event
(Inherited from Control.)
Protected methodOnDoubleTap
Fires the DoubleTap event
(Inherited from Control.)
Protected methodOnGotFocus
Fires the GotFocus event
(Inherited from Control.)
Protected methodOnKeyboardAltKey
Fires the KeyboardAltKey event
(Inherited from Control.)
Protected methodOnKeyboardKey
Fires the KeyboardKey event
(Inherited from Control.)
Protected methodOnLostFocus
Fires the LostFocus event
(Inherited from Control.)
Protected methodOnRender
Renders the control contents
(Overrides Control..::..OnRender(Int32, Int32, Int32, Int32).)
Public methodOnTap
Fires the Tap event
(Inherited from Control.)
Public methodOnTapHold
Fires the TapHold event
(Inherited from Control.)
Public methodOnTouchDown
Fires the TouchDown event
(Inherited from Control.)
Public methodOnTouchGesture
Fires the TouchGesture event
(Inherited from Control.)
Public methodOnTouchMove
Fires the TouchMove event
(Inherited from Control.)
Public methodOnTouchUp
Fires the TouchUp event
(Inherited from Control.)
Public methodPreviousChild
Moves the focus from the active to the previous child.
(Inherited from Container.)
Public methodQuiteUnsuspend
Sets the containers Suspended property to false without redrawing the container
(Inherited from Container.)
Public methodRemoveChild
Removes a child from the container
(Inherited from Container.)
Public methodRemoveChildAt
Removes child by index
(Inherited from Container.)
Public methodRender(Boolean)
Unsafely renders control
(Inherited from Control.)
Public methodRender(rect, Boolean)
Unsafely renders control.
(Inherited from Container.)
Public methodSendButtonEvent
Directly inform control of button events
(Inherited from Control.)
Public methodSendKeyboardAltKeyEvent
Directly inform control of keyboard alt key events
(Inherited from Control.)
Public methodSendKeyboardKeyEvent
Directly inform control of keyboard key events
(Inherited from Control.)
Public methodSendTouchDown
Directly inform control of touch down event
(Inherited from Control.)
Public methodSendTouchGesture
Directly inform control of touch gesture event
(Inherited from Control.)
Public methodSendTouchMove
Directly inform control of touch move event
(Inherited from Control.)
Public methodSendTouchUp
Directly inform control of touch up event
(Inherited from Control.)
Public methodToString (Inherited from Object.)
Protected methodTouchDownMessage
Override this message to handle touch events internally.
(Overrides Control..::..TouchDownMessage(Object, point, Boolean%).)
Protected methodTouchGestureMessage
Override this message to handle touch events internally.
(Overrides Control..::..TouchGestureMessage(Object, TouchType, Single, Boolean%).)
Protected methodTouchMoveMessage
Override this message to handle touch events internally.
(Overrides Control..::..TouchMoveMessage(Object, point, Boolean%).)
Protected methodTouchUpMessage
Override this message to handle touch events internally.
(Overrides Control..::..TouchUpMessage(Object, point, Boolean%).)
Public methodUpdateOffsets()()()()
Update the X/Y position offset of the control
(Inherited from Control.)
Public methodUpdateOffsets(point)
Update the X/Y position offset of the control
(Inherited from Control.)

Properties

  NameDescription
Public propertyActiveChild
Gets/Sets the control that is currently focused inside the container
(Inherited from Container.)
Public propertyAutoScroll
Gets/Sets AutoScroll feature for Panel
Public propertyBackColor
Gets/Sets Panel's background color
Public propertyBackgroundImage
Gets/Sets the background image to display on the Panel
Public propertyBackgroundImageScaleMode
Gets/Sets the Scale Mode to use when rendering background image
Public propertyCanFocus
Gets the controls ability to receive focus
(Inherited from Control.)
Public propertyCanRender
Gets the containers ability to be rendered
(Inherited from Container.)
Public propertyChildren
Gets an array of children
(Inherited from Container.)
Public propertyDisposing
Gets the disposing state of the control
(Inherited from Control.)
Public propertyDrawBorder
Gets/Sets if the Panel should have a border
Public propertyEnabled
Gets/Sets the enabled state of the control
(Inherited from Control.)
Public propertyFocused
Gets if the control is currently focused
(Inherited from Control.)
Public propertyHeight
Gets/Sets the height of the control in pixels
(Inherited from Control.)
Protected propertyInternalSuspended
Allows internally direct access to the Suspended flag of the control
(Inherited from Control.)
Public propertyLastTouch
Gets the coordinates of the last point touched
(Inherited from Control.)
Public propertyLeft
Gets the absolute X position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyLocation
Gets or sets the location of the control
(Inherited from Control.)
Public propertyName
Gets the name of the control
(Inherited from Control.)
Public propertyParent
Gets/Sets the control's container
(Inherited from Control.)
Public propertyScreenBounds
Gets the exact location of the control in pixels on the screen
(Inherited from Control.)
Public propertySuspended
Gets/Sets the suspended state
(Inherited from Control.)
Public propertyTag
Gets or sets a user defined tag for the control
(Inherited from Control.)
Public propertyTop
Gets the absolute Y position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyTopLevelContainer
Returns the top-most parent
(Inherited from Container.)
Public propertyTouching
Gets the current touch state of the control
(Overrides Control..::..Touching.)
Public propertyTransparentBackground
Gets/Sets if the background is transparent
Public propertyVisible
Gets/Sets the visibility of the control
(Inherited from Control.)
Public propertyWidth
Gets/Sets the width of the control in pixels
(Inherited from Control.)
Public propertyX
Gets/Sets the X position in pixels
(Overrides Control..::..X.)
Public propertyY
Gets/Sets the Y position in pixels
(Overrides Control..::..Y.)

Events

  NameDescription
Public eventButtonPressed
Adds or removes callback methods for ButtonPressed events
(Inherited from Control.)
Public eventButtonReleased
Adds or removes callback methods for ButtonReleased events
(Inherited from Control.)
Public eventDoubleTap
Adds or removes callback methods for DoubleTap events
(Inherited from Control.)
Public eventGotFocus
Adds or removes callback methods for GotFocus events
(Inherited from Control.)
Public eventKeyboardAltKey
Adds or removes callback methods for KeyboardAltKey events
(Inherited from Control.)
Public eventKeyboardKey
Adds or removes callback methods for KeyboardKey events
(Inherited from Control.)
Public eventLostFocus
Adds or removes callback methods for LostFocus events
(Inherited from Control.)
Public eventTap
Adds or removes callback methods for Tap events
(Inherited from Control.)
Public eventTapHold
Adds or removes callback methods for TapHold events
(Inherited from Control.)
Public eventTouchDown
Adds or removes callback methods for TouchDown events
(Inherited from Control.)
Public eventTouchGesture
Adds or removes callback methods for TouchGesture events
(Inherited from Control.)
Public eventTouchMove
Adds or removes callback methods for TouchMove events
(Inherited from Control.)
Public eventTouchUp
Adds or removes callback methods for TouchUp events
(Inherited from Control.)

See Also