Class SchedulerResource
Represents a class that provides information to group the appointments in scheduler.
Inheritance
Implements
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. |
IsNodeCollapsedProperty
Identifies the IsNodeCollapsed dependency property.
Declaration
public static readonly BindableProperty IsNodeCollapsedProperty
Field Value
| Type | Description |
|---|---|
| Microsoft.Maui.Controls.BindableProperty | Identifies the IsNodeCollapsed 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 |
GroupId
Gets or sets the group 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 GroupId { get; set; }
Property Value
| Type |
|---|
| System.Object |
HasChildNodes
Gets a value indicating whether the resource is grouped or not.
Declaration
public bool HasChildNodes { get; }
Property Value
| Type |
|---|
| System.Boolean |
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 |
IsNodeCollapsed
Gets or sets a value indicating whether the resource node is collapsed or not.
Declaration
public bool IsNodeCollapsed { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
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 |