menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class WeekNumberStyle

    Represents the Week number style that provides styling for week number layout in month view of schedule.

    Inheritance
    System.Object
    WeekNumberStyle
    Namespace: Syncfusion.SfSchedule.XForms
    Assembly: Syncfusion.SfSchedule.XForms.dll
    Syntax
    public class WeekNumberStyle : Element, IThemeElement

    Constructors

    WeekNumberStyle()

    Initializes a new instance of the WeekNumberStyle class. Provides styling option such as text color, font family, font size, font attributes and background color for week number in month view.

    Declaration
    public WeekNumberStyle()

    Fields

    BackgroundColorProperty

    Gets or sets the BackgroundColor for Weeknumber Text. This is a bindable property.

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

    FontAttributesProperty

    Gets or sets the Font Attributes to customize the displaying text font attributes in week number panel in month view. This is bindable property.

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

    FontFamilyProperty

    Gets or sets the Font Family for Week Number Style to customize the font family of displaying text in week number view panel.This is bindable property.

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

    FontSizeProperty

    Gets or sets the Font Size for Week Number Style to customize the displaying text size in week number panel in month view. This is bindable property.

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

    TextColorProperty

    Gets or sets the TextColor for Week number Text. This is a bindable property.

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

    Properties

    BackgroundColor

    Gets or sets the BackgroundColor for Weeknumber Text. This is a bindable property.

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

    FontAttributes

    Gets or sets the Font Attributes for Week Number Style to customize the displaying text font attributes in week number panel in month view.

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type
    Xamarin.Forms.FontAttributes

    FontFamily

    Gets or sets the Font Family for Week Number Style to customize the font family of displaying text in week number view panel in month view.

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

    FontSize

    Gets or sets the Font Size for Week Number Style to customize the displaying text size in week number panel in month view.

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

    TextColor

    Gets or sets the TextColor for Week number Text. This is a bindable property.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    This property takes the Xamarin.Forms.Color value.

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