Skip to main content
All docs
V25.1
  • TextElement.DXTextAlignment Property

    Gets or sets text alignment for the element. Use this property in non-Windows environments.

    Namespace: DevExpress.XtraTreeMap

    Assembly: DevExpress.XtraTreeMap.v25.1.dll

    NuGet Package: DevExpress.TreeMap

    Declaration

    [XtraSerializableProperty]
    public DXStringAlignment DXTextAlignment { get; set; }

    Property Value

    Type Description
    DXStringAlignment

    A value that specifies text alignment.

    Available values:

    Name Description
    Near

    The text is aligned near the layout.

    Center

    Text is aligned in the center of the layout rectangle.

    Far

    The text is aligned far from the original position of the layout rectangle.

    See Also