MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CalendarTextStyle

    Show / Hide Table of Contents

    Class CalendarTextStyle

    Represents a class which is used to customize the text style of the calendar.

    Inheritance
    System.Object
    CalendarTextStyle
    Namespace: Syncfusion.Maui.Calendar
    Assembly: Syncfusion.Maui.Calendar.dll
    Syntax
    public class CalendarTextStyle : BindableObject, ITextElement

    Constructors

    CalendarTextStyle()

    Declaration
    public CalendarTextStyle()

    Fields

    FontAttributesProperty

    Identifies the FontAttributes dependency property.

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

    The identifier for FontAttributes dependency property.

    FontFamilyProperty

    Identifies the FontFamily dependency property.

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

    The identifier for FontFamily dependency property.

    FontSizeProperty

    Identifies the FontSize dependency property.

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

    The identifier for FontSize dependency property.

    TextColorProperty

    Identifies the TextColor dependency property.

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

    The identifier for TextColor dependency property.

    Properties

    FontAttributes

    Gets or sets the font attributes of the text style.

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type Description
    Microsoft.Maui.Controls.FontAttributes

    The default value of the FontAttributes is Microsoft.Maui.Controls.FontAttributes.None

    FontFamily

    Gets or sets the font family of the text style.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    FontSize

    Gets or sets the font size of the text style.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type Description
    System.Double

    TextColor

    Gets or sets the text color of the text style.

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

    The default value of the TextColor is "#000000"(black).

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