Class Resource
Represents a resource that can be assigned to a schedule event in RadScheduler.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class Resource : IResource, IDataBoundItem, INotifyPropertyChanged
Constructors
Resource()
Resource(Object, String)
Initializes a new instance of the Resource class.
Declaration
public Resource(object id, string name)
Parameters
System.Object
id
The id of the new resource. |
System.String
name
The name of the new resource. |
Resource(EventId, String)
Initializes a new instance of the Resource class.
Declaration
public Resource(EventId id, string name)
Parameters
EventId
id
The id of the new resource. |
System.String
name
The name of the new resource. |
Properties
Color
Gets or sets the color that is associated with the resource.
Declaration
public Color Color { get; set; }
Property Value
System.Drawing.Color
The color of the resource. |
Implements
DataItem
Declaration
public object DataItem { get; }
Property Value
System.Object
|
Implements
Id
Gets or sets the id of the resource.
Declaration
public EventId Id { get; set; }
Property Value
EventId
The id of the resource. |
Implements
Image
Gets or sets the image of the resource.
Declaration
public Image Image { get; set; }
Property Value
System.Drawing.Image
The image of the resource. |
Implements
Name
Gets or sets the name of the resource.
Declaration
public string Name { get; set; }
Property Value
System.String
The name of the resource. |
Implements
Visible
Gets or sets a value indicating whether this IResource is visible.
Declaration
public bool Visible { get; set; }
Property Value
System.Boolean
|
Implements
Methods
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
Explicit Interface Implementations
IDataBoundItem.SetDataItem(Object)
Declaration
void IDataBoundItem.SetDataItem(object dataItem)
Parameters
System.Object
dataItem
|