Class SchedulerResource
The class that provides the information to group the appointments in scheduler.
Inheritance
System.Object
SchedulerResource
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.SfScheduler.WPF.dll
Syntax
public class SchedulerResource : Object, INotifyPropertyChanged
Constructors
SchedulerResource()
Declaration
public SchedulerResource()
Properties
Background
Gets or sets the background of resource view header.
Declaration
public Brush Background { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
Data
Gets the data object associated with SchedulerResource.
Declaration
public object Data { get; }
Property Value
Type |
---|
System.Object |
Remarks
When SchedulerResource is created using ResourceMapping, then the data object used to created SchedulerResource assigned to Data property.
Foreground
Gets or sets the foreground for resource view header.
Declaration
public Brush Foreground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
Id
Gets or sets the id property to the resource which used to map the resource with appointment using ResourceIdCollection.
Declaration
public object Id { get; set; }
Property Value
Type |
---|
System.Object |
Name
Gets or sets the name of the resource. The name id displayed in the resource header.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Events
PropertyChanged
Property changed event
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged