Class CalendarFooterView
Represents a class which is used to customize all the properties of footer view of the SfCalendar.
Inheritance
Namespace: Syncfusion.Maui.Calendar
Assembly: Syncfusion.Maui.Calendar.dll
Syntax
public class CalendarFooterView : Element, IThemeElement
Constructors
CalendarFooterView()
Initializes a new instance of the CalendarFooterView class.
Declaration
public CalendarFooterView()
Fields
BackgroundProperty
Identifies the Background dependency property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Background dependency property. |
DividerColorProperty
Identifies the DividerColor dependency property.
Declaration
public static readonly BindableProperty DividerColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for DividerColor dependency property. |
HeightProperty
Identifies the Height dependency property.
Declaration
public static readonly BindableProperty HeightProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Height dependency property. |
ShowActionButtonsProperty
Identifies the ShowActionButtons dependency property.
Declaration
public static readonly BindableProperty ShowActionButtonsProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for ShowActionButtons dependency property. |
ShowTodayButtonProperty
Identifies the ShowTodayButton dependency property.
Declaration
public static readonly BindableProperty ShowTodayButtonProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for ShowTodayButton dependency property. |
TextStyleProperty
Identifies the TextStyle dependency property.
Declaration
public static readonly BindableProperty TextStyleProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for TextStyle dependency property. |
Properties
Background
Gets or sets the background of the footer view in SfCalendar.
Declaration
public Brush Background { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The Default value of Background is Transparent. |
Examples
The following code demonstrates, how to use the Background property in the calendar
this.Calendar.FooterView.Background = Colors.Red;
DividerColor
Gets or sets the background of the footer separator line background in SfCalendar.
Declaration
public Color DividerColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color | The Default value of DividerColor is Transparent. |
Examples
The following code demonstrates, how to use the DividerColor property in the calendar
this.Calendar.FooterView.DividerColor = Colors.Red;
Height
Gets or sets the value to specify the height of footer view on SfCalendar.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value of Height is 50. |
Examples
The following code demonstrates, how to use the Height property in the calendar
this.Calendar.FooterView.Height = 50;
See Also
ShowActionButtons
Gets or sets a value indicating whether to show the cancel button in the footer view of SfCalendar.
Declaration
public bool ShowActionButtons { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The Default value of ShowActionButtons is false. |
Examples
The following code demonstrates, how to use the ShowActionButtons property in the calendar
this.Calendar.FooterView.ShowActionButtons = true;
ShowTodayButton
Gets or sets a value indicating whether to show the today button in the footer view of SfCalendar.
Declaration
public bool ShowTodayButton { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The Default value of ShowTodayButton is false. |
Examples
The following code demonstrates, how to use the ShowTodayButton property in the calendar
this.Calendar.FooterView.ShowTodayButton = true;
TextStyle
Gets or sets the ok and cancel button text style in the footer view of SfCalendar.
Declaration
public CalendarTextStyle TextStyle { get; set; }
Property Value
Type |
---|
CalendarTextStyle |
Examples
The following code demonstrates, how to use the TextStyle property in the calendar
var footerTextStyle = new CalendarTextStyle()
{
TextColor = Colors.Blue,
FontSize = 14,
};
this.Calendar.FooterView.TextStyle = footerTextStyle;