Class SchedulerResource
Represents a class that provides information to group the appointments in scheduler.
Inheritance
System.Object
SchedulerResource
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.Maui.Scheduler
Assembly: Syncfusion.Maui.Scheduler.dll
Syntax
public class SchedulerResource : Element, INotifyPropertyChanged, IThemeElement
Constructors
SchedulerResource()
Initializes a new instance of the SchedulerResource class.
Declaration
public SchedulerResource()
Fields
BackgroundProperty
Identifies the Background dependency property.
Declaration
public static readonly BindableProperty BackgroundProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | Identifies the Background bindable property. |
Properties
Background
Gets or sets the background of resource view header.
Declaration
public Brush Background { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
DataItem
Gets the custom resource data item associated with the SchedulerResource.
Declaration
public object DataItem { get; }
Property Value
Type |
---|
System.Object |
Foreground
Gets or sets the foreground of resource view header.
Declaration
public Brush Foreground { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.Brush |
Id
Gets or sets the id of resource that shares the appointment or time region. Based on this Id the appointments are grouped and arranged under each resource in view.
Declaration
public object Id { get; set; }
Property Value
Type |
---|
System.Object |
Name
Gets or sets the name of the resource. The name is displayed in the resource header.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Events
PropertyChanged
The Property changed event handler.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged