alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AnnotationMapping

    One text label rendered on each data-bound node. TextPath reads the label's text from the data item; the other properties style it.

    Inheritance
    object
    DiagramElement
    AnnotationMapping
    Inherited Members
    DiagramElement.OnPropertyChanged(string)
    Namespace: Syncfusion.Maui.Diagram
    Assembly: Syncfusion.Maui.Diagram.dll
    Syntax
    public class AnnotationMapping : DiagramElement

    Constructors

    AnnotationMapping()

    Declaration
    public AnnotationMapping()

    Fields

    FontAttributesProperty

    Identifies the FontAttributes bindable property.

    Declaration
    public static readonly BindableProperty FontAttributesProperty
    Field Value
    Type
    BindableProperty

    FontSizeProperty

    Identifies the FontSize bindable property.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type
    BindableProperty

    OffsetProperty

    Identifies the Offset bindable property.

    Declaration
    public static readonly BindableProperty OffsetProperty
    Field Value
    Type
    BindableProperty

    TextColorProperty

    Identifies the TextColor bindable property.

    Declaration
    public static readonly BindableProperty TextColorProperty
    Field Value
    Type
    BindableProperty

    TextPathProperty

    Identifies the TextPath bindable property.

    Declaration
    public static readonly BindableProperty TextPathProperty
    Field Value
    Type
    BindableProperty

    Properties

    FontAttributes

    Gets or sets the annotation's font attributes (e.g. bold).

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type
    FontAttributes

    FontSize

    Gets or sets the annotation's font size. Defaults to 12.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type
    double

    Offset

    Gets or sets the annotation's position relative to the node bounds (0..1). Defaults to center.

    Declaration
    public Point Offset { get; set; }
    Property Value
    Type
    Point

    TextColor

    Gets or sets the annotation's text color.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type
    Color

    TextPath

    Gets or sets the item property holding this annotation's text.

    Declaration
    public string? TextPath { get; set; }
    Property Value
    Type
    string
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved