The Label type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Label(String, String, Font, Int32, Int32, Boolean) |
Creates a new label
| |
Label(String, String, Font, Int32, Int32, Color, Boolean) |
Creates a new label
| |
Label(String, String, Font, Int32, Int32, Int32, Color, Boolean) |
Creates a new label
| |
Label(String, String, Font, Int32, Int32, Int32, Int32, Boolean) |
Creates a new label
| |
Label(String, String, Font, Int32, Int32, Int32, Int32, Color, Boolean) |
Creates a new label
|
Methods
Name | Description | |
---|---|---|
Activate |
Activates the control
(Inherited from Control.) | |
Blur |
Deactivates the control
(Inherited from Control.) | |
ButtonPressedMessage |
Override this message to handle button pressed events internally.
(Inherited from Control.) | |
ButtonReleasedMessage |
Override this message to handle button released events internally.
(Inherited from Control.) | |
Dispose |
Disposes the control
(Inherited from Control.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
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.
(Inherited from Control.) | |
KeyboardKeyMessage |
Override this message to handle key events internally.
(Inherited from Control.) | |
MeasureControl | (Inherited from AutoSizeControl.) | |
MemberwiseClone | (Inherited from Object.) | |
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.) | |
OnMeasureControl |
Is called when ever the size of the control needs to be calculated.
(Overrides AutoSizeControl..::..OnMeasureControl(AutoSizeModes).) | |
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.) | |
Render |
Unsafely renders control
(Inherited from Control.) | |
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.) | |
SetPadding |
Sets the padding without measuring or invalidating the control
(Inherited from AutoSizeControl.) | |
ToString | (Inherited from Object.) | |
TouchDownMessage |
Override this message to handle touch events internally.
(Inherited from Control.) | |
TouchGestureMessage |
Override this message to handle touch events internally.
(Inherited from Control.) | |
TouchMoveMessage |
Override this message to handle touch events internally.
(Inherited from Control.) | |
TouchUpMessage |
Override this message to handle touch events internally.
(Inherited from Control.) | |
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 | |
---|---|---|
AutoSize | Obsolete.
Gets/Sets auto size state
| |
AutoSizeMode |
Gets/Sets the auto size mode
(Inherited from AutoSizeControl.) | |
BackColor |
Gets/Sets label back color (sets transparent false)
| |
CanFocus |
Gets the controls ability to receive focus
(Overrides Control..::..CanFocus.) | |
Color |
Gets/Sets font color
| |
Disposing |
Gets the disposing state of the control
(Inherited from Control.) | |
Enabled |
Gets/Sets the enabled state of the control
(Inherited from Control.) | |
Focused |
Gets if the control is currently focused
(Inherited from Control.) | |
Font |
Gets/Sets font
| |
Height |
Gets/Sets the height of the control in pixels
(Inherited from AutoSizeControl.) | |
InternalSuspended |
Allows internally direct access to the Suspended flag of the control
(Inherited from Control.) | |
IsTransparentBackground |
Get/Sets transparent background state
| |
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.) | |
Padding |
Gets/Sets the internal spacing of the control border to it's content
(Inherited from AutoSizeControl.) | |
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.) | |
Text |
Gets/Sets the text
| |
TextAlignment |
Gets/Sets horizontal text alignment
| |
Top |
Gets the absolute Y position of the control accounting for parental offsets
(Inherited from Control.) | |
Touching |
Gets the current touch state of the control
(Inherited from Control.) | |
VerticalAlignment |
Gets/Sets the vertical text alignment
| |
Visible |
Gets/Sets the visibility of the control
(Inherited from Control.) | |
Width |
Gets/Sets the width of the control in pixels
(Inherited from AutoSizeControl.) | |
X |
Gets/Sets the X position in pixels
(Inherited from Control.) | |
Y |
Gets/Sets the Y position in pixels
(Inherited from Control.) |
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.) |