Class DayLabelSettings
The Day Label Settings contains properties to customize and configure the appearance of day and date label in day view.
Inheritance
Namespace: Syncfusion.SfSchedule.XForms
Assembly: Syncfusion.SfSchedule.XForms.dll
Syntax
public class DayLabelSettings : Element, IThemeElement
Constructors
DayLabelSettings()
Initializes a new instance of the DayLabelSettings class.
Declaration
public DayLabelSettings()
Fields
DateFormatProperty
Gets or sets the DateFormat property.
Declaration
public static readonly BindableProperty DateFormatProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
DayFormatProperty
Gets or sets the DayFormat property.
Declaration
public static readonly BindableProperty DayFormatProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TimeFormatProperty
Gets or sets the TimeFormat property.
Declaration
public static readonly BindableProperty TimeFormatProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TimeLabelColorProperty
Gets or sets the TimeLabelColor. This is a bindable property.
Declaration
public static readonly BindableProperty TimeLabelColorProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TimeLabelFontAttributesProperty
Gets or sets the font attributes for time label.This is bindable property.
Declaration
public static readonly BindableProperty TimeLabelFontAttributesProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TimeLabelFontFamilyProperty
Gets or sets the font family for the TimeLabel.This is bindable property.
Declaration
public static readonly BindableProperty TimeLabelFontFamilyProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
TimeLabelSizeProperty
Gets or sets the TimeLabelSize property.
Declaration
public static readonly BindableProperty TimeLabelSizeProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
Properties
DateFormat
Gets or sets the DateFormat property to define the format for date in the Schedule. This is a bindable property.
Declaration
public string DateFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | This property takes the System.String value. |
DayFormat
Gets or sets the DayFormat property to define the format for day in the Schedule. This is a bindable property.
Declaration
public string DayFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | This property takes the System.String value. |
TimeFormat
Gets or sets the TimeFormat property to define the format for time in the Schedule. This is a bindable property.
Declaration
public string TimeFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | This property takes the System.String value. |
TimeLabelColor
Gets or sets the TimeLabelColor. This is a bindable property.
Declaration
public Color TimeLabelColor { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.Color |
Remarks
It's a read only property and we need to set the Palette of the WorkWeekViewSettings class.
TimeLabelFontAttributes
Gets or sets font attributes for the TimeLabel.
Declaration
public FontAttributes TimeLabelFontAttributes { get; set; }
Property Value
| Type |
|---|
| Xamarin.Forms.FontAttributes |
TimeLabelFontFamily
Gets or sets the font family for the TimeLabel.
Declaration
public string TimeLabelFontFamily { get; set; }
Property Value
| Type |
|---|
| System.String |
TimeLabelSize
Gets or sets the TimeLabelSize property to define the size for TimeLabel in the Schedule. This is a bindable property.
Declaration
public double TimeLabelSize { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | This property takes the System.Double value. |