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