menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartAnnotationLabelStyle - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartAnnotationLabelStyle

    This class is used to customize the appearance of ChartAnnotation label.

    Inheritance
    System.Object
    ChartLabelStyle
    ChartAnnotationLabelStyle
    Inherited Members
    ChartLabelStyle.BackgroundColor
    ChartLabelStyle.BackgroundColorProperty
    ChartLabelStyle.BorderColor
    ChartLabelStyle.BorderColorProperty
    ChartLabelStyle.BorderThickness
    ChartLabelStyle.BorderThicknessProperty
    ChartLabelStyle.Font
    ChartLabelStyle.FontAttributes
    ChartLabelStyle.FontAttributesProperty
    ChartLabelStyle.FontFamily
    ChartLabelStyle.FontFamilyProperty
    ChartLabelStyle.FontProperty
    ChartLabelStyle.FontSize
    ChartLabelStyle.FontSizeProperty
    ChartLabelStyle.LabelFormat
    ChartLabelStyle.LabelFormatProperty
    ChartLabelStyle.Margin
    ChartLabelStyle.MarginProperty
    ChartLabelStyle.TextColor
    ChartLabelStyle.TextColorProperty
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class ChartAnnotationLabelStyle : ChartLabelStyle, IThemeElement

    Constructors

    ChartAnnotationLabelStyle()

    Initializes a new instance of the ChartAnnotationLabelStyle class.

    Declaration
    public ChartAnnotationLabelStyle()

    Fields

    HorizontalTextAlignmentProperty

    Gets or sets the horizontal text alignment of ChartAnnotation. This is a bindable property.

    Declaration
    public static readonly BindableProperty HorizontalTextAlignmentProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    VerticalTextAlignmentProperty

    Gets or sets the vertical text alignment of ChartAnnotation. This is a bindable property.

    Declaration
    public static readonly BindableProperty VerticalTextAlignmentProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    HorizontalTextAlignment

    Gets or sets the horizontal text alignment of ChartAnnotation. This is a bindable property.

    Declaration
    public ChartAnnotationAlignment HorizontalTextAlignment { get; set; }
    Property Value
    Type Description
    ChartAnnotationAlignment

    This property takes the HorizontalTextAlignment as its value.

    VerticalTextAlignment

    Gets or sets the vertical text alignment of ChartAnnotation. This is a bindable property.

    Declaration
    public ChartAnnotationAlignment VerticalTextAlignment { get; set; }
    Property Value
    Type Description
    ChartAnnotationAlignment

    This property takes the VerticalTextAlignment as its value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved