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