Class ResourceTypeViewModel
View model for ResourceType class.
Inheritance
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class ResourceTypeViewModel : Object, INotifyPropertyChanged
Constructors
ResourceTypeViewModel(IResourceType, IAppointment)
Initializes a new instance of the ResourceTypeViewModel class.
Declaration
public ResourceTypeViewModel(IResourceType resourceType, IAppointment appointment)
Parameters
IResourceType
resourceType
Type of the resource. |
IAppointment
appointment
The appointment. |
Properties
ClearAllButtonContent
Gets the content of the "clear all" button.
Declaration
public static string ClearAllButtonContent { get; }
Property Value
System.String
The content of the "clear all" button. |
ResourceItems
Gets or sets the resource items.
Declaration
public ResourceItemCollection ResourceItems { get; }
Property Value
ResourceItemCollection
The resource items. |
ResourceType
Gets or sets the type of the resource.
Declaration
public IResourceType ResourceType { get; set; }
Property Value
IResourceType
The type of the resource. |
SelectedIndex
Gets or sets the index of the selected.
Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32
The index of the selected. |
SelectedItem
Gets or sets the selected item.
Declaration
public ResourceItem SelectedItem { get; set; }
Property Value
ResourceItem
The selected item. |
Methods
OnPropertyChanged(String)
Called when [property changed].
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|