Share via


Text Members

The following tables list the members exposed by the Text type.

Public Constructors

Name Description
Public Method Text Overloaded. Initializes a new instance of the Text class.

Public Fields

Name Description
Public Field Dispatcher (Inherited from DispatcherObject.)

Protected Fields

Name Description
Protected Field _font Specifies the font to be used for the text in the current Text object.
Protected Field _horizontalAlignment (Inherited from UIElement.)
Protected Field _text Contains the text string for the current Text object.
Protected Field _verticalAlignment (Inherited from UIElement.)

Public Properties

Name Description
Public Property ActualHeight (Inherited from UIElement.)
Public Property ActualWidth (Inherited from UIElement.)
Public Property Font Gets or sets the font for the text in the current Text object .
Public Property ForeColor Gets or sets the foreground color for the text in the current Text object.
Public Property Height (Inherited from UIElement.)
Public Property HorizontalAlignment (Inherited from UIElement.)
Public Property IsArrangeValid (Inherited from UIElement.)
Public Property IsEnabled (Inherited from UIElement.)
Public Property IsFocused (Inherited from UIElement.)
Public Property IsMeasureValid (Inherited from UIElement.)
Public Property IsVisible (Inherited from UIElement.)
Public Property LineHeight Gets the height of a line of text in the current Text object.
Public Property Parent (Inherited from UIElement.)
Public Property RootUIElement (Inherited from UIElement.)
Public Property TextAlignment Gets or sets the text alignment for the current Text object.
Public Property TextContent Gets or sets the contents of the current Text object.
Public Property TextWrap Gets or sets the text-wrapping setting for the current Text object.
Public Property Trimming Gets or sets the type of white-space trimming for the text in the current Text object.
Public Property VerticalAlignment (Inherited from UIElement.)
Public Property Visibility (Inherited from UIElement.)
Public Property Width (Inherited from UIElement.)

Protected Properties

Name Description
Protected Property InstanceEventHandlersStore (Inherited from UIElement.)
Protected Property LogicalChildren (Inherited from UIElement.)

Public Methods

Name Description
Public Method AddHandler (Inherited from UIElement.)
Public Method AddToEventRoute (Inherited from UIElement.)
Public Method Arrange (Inherited from UIElement.)
Public Method CheckAccess (Inherited from DispatcherObject.)
Public Method ChildElementFromPoint (Inherited from UIElement.)
Public Method ContainsPoint (Inherited from UIElement.)
Public Method Equals (Inherited from Object.)
Public Method GetDesiredSize (Inherited from UIElement.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetLayoutOffset (Inherited from UIElement.)
Public Method GetMargin (Inherited from UIElement.)
Public Method GetPointerTarget (Inherited from UIElement.)
Public Method GetRenderSize (Inherited from UIElement.)
Public Method GetType (Inherited from Object.)
Public Method GetUnclippedSize (Inherited from UIElement.)
Public Method Invalidate (Inherited from UIElement.)
Public Method InvalidateArrange (Inherited from UIElement.)
Public Method InvalidateMeasure (Inherited from UIElement.)
Public Method InvalidateRect (Inherited from UIElement.)
Public Method Measure (Inherited from UIElement.)
Public Method OnRender Writes the contents of the current Text object to the display device (screen).
Public Method PointToClient (Inherited from UIElement.)
Public Method PointToScreen (Inherited from UIElement.)
Public Method RaiseEvent (Inherited from UIElement.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method SetMargin (Inherited from UIElement.)
Public Method ToString Creates a string representation of the current Text object.
Public Method UpdateLayout (Inherited from UIElement.)
Public Method VerifyAccess (Inherited from DispatcherObject.)

Protected Methods

Name Description
Protected Method ArrangeOverride (Inherited from UIElement.)
Protected Method Finalize (Inherited from Object.)
Protected Method MeasureOverride Measures the text layout area for the current Text object.
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method OnButtonDown (Inherited from UIElement.)
Protected Method OnButtonUp (Inherited from UIElement.)
Protected Method OnChildDesiredSizeChanged (Inherited from UIElement.)
Protected Method OnGenericEvent (Inherited from UIElement.)
Protected Method OnGotFocus (Inherited from UIElement.)
Protected Method OnLostFocus (Inherited from UIElement.)
Protected Method OnPreviewButtonDown (Inherited from UIElement.)
Protected Method OnPreviewButtonUp (Inherited from UIElement.)
Protected Method OnTouchDown (Inherited from UIElement.)
Protected Method OnTouchGestureChanged (Inherited from UIElement.)
Protected Method OnTouchGestureEnded (Inherited from UIElement.)
Protected Method OnTouchGestureStarted (Inherited from UIElement.)
Protected Method OnTouchMove (Inherited from UIElement.)
Protected Method OnTouchUp (Inherited from UIElement.)

Public Events

Name Description
Public Event IsEnabledChanged (Inherited from UIElement.)
Public Event IsVisibleChanged (Inherited from UIElement.)
Public Event TouchDown (Inherited from UIElement.)
Public Event TouchGestureChanged (Inherited from UIElement.)
Public Event TouchGestureEnd (Inherited from UIElement.)
Public Event TouchGestureStart (Inherited from UIElement.)
Public Event TouchMove (Inherited from UIElement.)
Public Event TouchUp (Inherited from UIElement.)

See Also

Reference

Text Class
Microsoft.SPOT.Presentation.Controls Namespace