Class
ResourceTypeViewModel

View model for ResourceType class.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class ResourceTypeViewModel : INotifyPropertyChanged

Inheritance: objectResourceTypeViewModel

Implements: INotifyPropertyChanged

Constructors

ResourceTypeViewModel(IResourceType, IAppointment)

Initializes a new instance of the ResourceTypeViewModel class.

Declaration

cs-api-definition
public ResourceTypeViewModel(IResourceType resourceType, IAppointment appointment)

Parameters

resourceType

IResourceType

Type of the resource.

appointment

IAppointment

The appointment.

Properties

ClearAllButtonContent

Gets the content of the "clear all" button.

Declaration

cs-api-definition
public static string ClearAllButtonContent { get; }

Property Value

string

The content of the "clear all" button.

ResourceItems

Gets or sets the resource items.

Declaration

cs-api-definition
public ResourceItemCollection ResourceItems { get; }

Property Value

ResourceItemCollection

The resource items.

ResourceType

Gets or sets the type of the resource.

Declaration

cs-api-definition
public IResourceType ResourceType { get; set; }

Property Value

IResourceType

The type of the resource.

SelectedIndex

Gets or sets the index of the selected.

Declaration

cs-api-definition
public int SelectedIndex { get; set; }

Property Value

int

The index of the selected.

SelectedItem

Gets or sets the selected item.

Declaration

cs-api-definition
public ResourceItem SelectedItem { get; set; }

Property Value

ResourceItem

The selected item.

Methods

OnPropertyChanged(string)

Called when [property changed].

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

Name of the property.

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged