Class SchedulerHeaderSettingsBase
Represents a class which is used to customize all the properties of header in the sfscheduler.
Inheritance
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class SchedulerHeaderSettingsBase : BindableObject
Constructors
SchedulerHeaderSettingsBase()
Declaration
public SchedulerHeaderSettingsBase()
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. |
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. |
Properties
Background
Gets or sets the header background to customize the default background of the header in the scheduler.
Declaration
public Brush Background { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.Brush | The default value is Microsoft.Maui.Controls.Brush.Transparent. |
Remarks
It will be applicable to all View.
Examples
The below examples shows, how to set the Background property of the SchedulerHeaderSettingsBase in the SfScheduler.
this.Scheduler.HeaderView.Background = Brush.Blue;
See Also
Height
Gets or sets the header height to customize the default height property of the header in the scheduler.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 50. |
Remarks
It will be applicable to all View.
Examples
The below examples shows, how to use the Height of the SchedulerHeaderSettingsBase in the SfScheduler.
this.Scheduler.HeaderView.Height = 100;