The AutoSizeControl type exposes the following members.

Constructors

  NameDescription
Protected methodAutoSizeControl(String)
Initializes the control
Protected methodAutoSizeControl(String, Int32, Int32)
Initializes the control
Protected methodAutoSizeControl(String, Int32, Int32, Int32, Int32)
Initializes the control

Methods

  NameDescription
Public methodActivate
Activates the control
(Inherited from Control.)
Public methodBlur
Deactivates the control
(Inherited from Control.)
Protected methodButtonPressedMessage
Override this message to handle button pressed events internally.
(Inherited from Control.)
Protected methodButtonReleasedMessage
Override this message to handle button released events internally.
(Inherited from Control.)
Public methodDispose
Disposes the control
(Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
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.
(Inherited from Control.)
Protected methodKeyboardKeyMessage
Override this message to handle key events internally.
(Inherited from Control.)
Protected methodMeasureControl
Measures the size of the control and updates Width and Height
Protected methodMemberwiseClone (Inherited from Object.)
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 methodOnMeasureControl
Is called when ever the size of the control needs to be calculated.
Protected methodOnRender
Renders the control contents
(Inherited from Control.)
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 methodRender
Unsafely renders control
(Inherited from Control.)
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.)
Protected methodSetPadding
Sets the padding without measuring or invalidating the control
Public methodToString (Inherited from Object.)
Protected methodTouchDownMessage
Override this message to handle touch events internally.
(Inherited from Control.)
Protected methodTouchGestureMessage
Override this message to handle touch events internally.
(Inherited from Control.)
Protected methodTouchMoveMessage
Override this message to handle touch events internally.
(Inherited from Control.)
Protected methodTouchUpMessage
Override this message to handle touch events internally.
(Inherited from Control.)
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 propertyAutoSizeMode
Gets/Sets the auto size mode
Public propertyCanFocus
Gets the controls ability to receive focus
(Inherited from Control.)
Public propertyDisposing
Gets the disposing state of the control
(Inherited from Control.)
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
(Overrides Control..::..Height.)
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 propertyPadding
Gets/Sets the internal spacing of the control border to it's content
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 propertyTouching
Gets the current touch state of the control
(Inherited from Control.)
Public propertyVisible
Gets/Sets the visibility of the control
(Inherited from Control.)
Public propertyWidth
Gets/Sets the width of the control in pixels
(Overrides Control..::..Width.)
Public propertyX
Gets/Sets the X position in pixels
(Inherited from Control.)
Public propertyY
Gets/Sets the Y position in pixels
(Inherited from Control.)

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