New to Telerik UI for WPF? Start a free 30-day trial

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: INotifyPropertyChanged

Constructors

Initializes a new instance of the ResourceTypeViewModel class.

C#
public ResourceTypeViewModel(IResourceType resourceType, IAppointment appointment)
Parameters:resourceTypeIResourceType

Type of the resource.

appointmentIAppointment

The appointment.

Properties

Gets the content of the "clear all" button.

C#
public static string ClearAllButtonContent { get; }
Property Value:

The content of the "clear all" button.

Gets or sets the resource items.

C#
public ResourceItemCollection ResourceItems { get; }
Property Value:

The resource items.

Gets or sets the type of the resource.

C#
public IResourceType ResourceType { get; set; }
Property Value:

The type of the resource.

Gets or sets the index of the selected.

C#
public int SelectedIndex { get; set; }
Property Value:

The index of the selected.

Gets or sets the selected item.

C#
public ResourceItem SelectedItem { get; set; }
Property Value:

The selected item.

Methods

Called when [property changed].

C#
protected virtual void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

Name of the property.

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged