ClassResource
Represents a resource that can be assigned to scheduler appointments in RadScheduler. Resources enable grouping and categorization of appointments by person, room, equipment, or any other entity.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class Resource : IResource, IDataBoundItem, INotifyPropertyChanged
Inheritance: objectResource
Implements:
Constructors
Resource()
Initializes a new instance of the Resource class with default values.
Declaration
public Resource()
Resource(object, string)
Initializes a new instance of the Resource class with the specified identifier and name.
Properties
Color
Gets or sets the color associated with the resource that is used for visual identification and theming of appointments assigned to this resource.
DataItem
Gets the data source object that this resource is bound to when using data binding scenarios.
Id
Gets or sets the unique identifier of the resource used for data binding and event association.
Image
Gets or sets the image associated with the resource that can be displayed in the scheduler interface.
Name
Gets or sets the display name of the resource that will be shown in the scheduler interface.
Methods
OnPropertyChanged(string)
Raises the PropertyChanged event for the specified property name.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
The name of the property that changed.
Events
PropertyChanged
Occurs when a property value changes, enabling data binding scenarios.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements