alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class MultiLevelLabelStyle

    Axis-level style for multi-level axis labels.

    Inheritance
    System.Object
    MultiLevelLabelStyle
    Namespace: Syncfusion.Maui.Charts
    Assembly: Syncfusion.Maui.Charts.dll
    Syntax
    public class MultiLevelLabelStyle : BindableObject

    Constructors

    MultiLevelLabelStyle()

    Initializes a new instance of the MultiLevelLabelStyle class. Automatically applies a default LabelStyle with dark gray text color (#49454F) and font size 12 if one has not been explicitly provided, ensuring LabelStyle is never null.

    Declaration
    public MultiLevelLabelStyle()

    Fields

    BorderTypeProperty

    Identifies the BorderType bindable property.

    Declaration
    public static readonly BindableProperty BorderTypeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    LabelStyleProperty

    Identifies the LabelStyle bindable property.

    Declaration
    public static readonly BindableProperty LabelStyleProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StrokeProperty

    Identifies the Stroke bindable property.

    Declaration
    public static readonly BindableProperty StrokeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    StrokeThicknessProperty

    Identifies the StrokeThickness bindable property.

    Declaration
    public static readonly BindableProperty StrokeThicknessProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    BorderType

    Gets or sets the multi-level label border style type. Supported values are: Rectangle, CurlyBrace, WithoutTopAndBottom, SquareBrace. Default value is Rectangle.

    Declaration
    public ChartMultiLevelBorderType BorderType { get; set; }
    Property Value
    Type
    ChartMultiLevelBorderType

    LabelStyle

    Gets or sets the axis-level text style for multi-level labels. This style is applied to all text in the multi-level label braces. When not explicitly set, a default style with dark gray text color (#49454F) and font size 12 is applied automatically.

    Declaration
    public ChartAxisLabelStyle LabelStyle { get; set; }
    Property Value
    Type
    ChartAxisLabelStyle

    Stroke

    Gets or sets the border/brace color for multi-level labels. Default value is #CAC4D0 (light gray).

    Declaration
    public Color Stroke { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    StrokeThickness

    Gets or sets the border/brace width for multi-level label borders in pixels. Default value is 1.0d.

    Declaration
    public double StrokeThickness { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved