Search Results for

    Show / Hide Table of Contents

    Class Text

    Inheritance
    object
    DispatcherObject
    UIElement
    Text
    Inherited Members
    UIElement._horizontalAlignment
    UIElement._verticalAlignment
    UIElement.OnGenericEvent(GenericEventArgs)
    UIElement.OnTouchDown(TouchEventArgs)
    UIElement.OnTouchUp(TouchEventArgs)
    UIElement.OnTouchMove(TouchEventArgs)
    UIElement.OnTouchGestureStarted(TouchGestureEventArgs)
    UIElement.OnTouchGestureChanged(TouchGestureEventArgs)
    UIElement.OnTouchGestureEnded(TouchGestureEventArgs)
    UIElement.OnPreviewButtonDown(ButtonEventArgs)
    UIElement.OnButtonDown(ButtonEventArgs)
    UIElement.OnPreviewButtonUp(ButtonEventArgs)
    UIElement.OnButtonUp(ButtonEventArgs)
    UIElement.OnGotFocus(FocusChangedEventArgs)
    UIElement.OnLostFocus(FocusChangedEventArgs)
    UIElement.GetDesiredSize(out int, out int)
    UIElement.GetMargin(out int, out int, out int, out int)
    UIElement.SetMargin(int)
    UIElement.SetMargin(int, int, int, int)
    UIElement.GetLayoutOffset(out int, out int)
    UIElement.GetRenderSize(out int, out int)
    UIElement.OnChildrenChanged(UIElement, UIElement, int)
    UIElement.Measure(int, int)
    UIElement.Arrange(int, int, int, int)
    UIElement.ArrangeOverride(int, int)
    UIElement.UpdateLayout()
    UIElement.ChildElementFromPoint(int, int)
    UIElement.GetUnclippedSize(out int, out int)
    UIElement.ContainsPoint(int, int)
    UIElement.GetPointerTarget(int, int)
    UIElement.PointToScreen(ref int, ref int)
    UIElement.PointToClient(ref int, ref int)
    UIElement.InvalidateMeasure()
    UIElement.InvalidateArrange()
    UIElement.OnChildDesiredSizeChanged(UIElement)
    UIElement.RenderRecursive(DrawingContext)
    UIElement.InvalidateRect(int, int, int, int)
    UIElement.Invalidate()
    UIElement.RaiseEvent(RoutedEventArgs)
    UIElement.AddToEventRoute(EventRoute, RoutedEventArgs)
    UIElement.AddHandler(RoutedEvent, RoutedEventHandler, bool)
    UIElement.ActualWidth
    UIElement.ActualHeight
    UIElement.Height
    UIElement.Width
    UIElement.LogicalChildren
    UIElement.IsFocused
    UIElement.IsMeasureValid
    UIElement.IsArrangeValid
    UIElement.Parent
    UIElement.RootUIElement
    UIElement.HorizontalAlignment
    UIElement.VerticalAlignment
    UIElement.Visibility
    UIElement.IsVisible
    UIElement.IsEnabled
    UIElement.InstanceEventHandlersStore
    UIElement.TouchDown
    UIElement.TouchUp
    UIElement.TouchMove
    UIElement.TouchGestureStart
    UIElement.TouchGestureChanged
    UIElement.TouchGestureEnd
    UIElement.IsVisibleChanged
    UIElement.IsEnabledChanged
    DispatcherObject.Dispatcher
    DispatcherObject.CheckAccess()
    DispatcherObject.VerifyAccess()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: nanoFramework.Presentation.Controls
    Assembly: nanoFramework.Graphics.dll
    Syntax
    public class Text : UIElement

    Constructors

    Text()

    Declaration
    public Text()

    Text(Font, string)

    Declaration
    public Text(Font font, string content)
    Parameters
    Type Name Description
    Font font
    string content

    Text(string)

    Declaration
    public Text(string content)
    Parameters
    Type Name Description
    string content

    Fields

    _font

    Declaration
    protected Font _font
    Field Value
    Type Description
    Font

    _text

    Declaration
    protected string _text
    Field Value
    Type Description
    string

    Properties

    Font

    Declaration
    public Font Font { get; set; }
    Property Value
    Type Description
    Font

    ForeColor

    Declaration
    public Color ForeColor { get; set; }
    Property Value
    Type Description
    Color

    LineHeight

    Declaration
    public int LineHeight { get; }
    Property Value
    Type Description
    int

    TextAlignment

    Declaration
    public TextAlignment TextAlignment { get; set; }
    Property Value
    Type Description
    TextAlignment

    TextContent

    Declaration
    public string TextContent { get; set; }
    Property Value
    Type Description
    string

    TextWrap

    Declaration
    public bool TextWrap { get; set; }
    Property Value
    Type Description
    bool

    Trimming

    Declaration
    public TextTrimming Trimming { get; set; }
    Property Value
    Type Description
    TextTrimming

    Methods

    MeasureOverride(int, int, out int, out int)

    Declaration
    protected override void MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)
    Parameters
    Type Name Description
    int availableWidth
    int availableHeight
    int desiredWidth
    int desiredHeight
    Overrides
    UIElement.MeasureOverride(int, int, out int, out int)

    OnRender(DrawingContext)

    Declaration
    public override void OnRender(DrawingContext dc)
    Parameters
    Type Name Description
    DrawingContext dc
    Overrides
    UIElement.OnRender(DrawingContext)

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX