ClassNameValueItem<T>
Name and value object useful for data binding operations.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Type Parameters:
T
Type of value.
Syntax:
public class NameValueItem<T> : INotifyPropertyChanged
Inheritance: objectNameValueItem<T>
Implements:
Constructors
NameValueItem(T, string)
Initializes a new instance of the NameValueItem<T> class.
Declaration
public NameValueItem(T value, string name)
Parameters
value
T
The value.
name
The name.
NameValueItem(T, string, bool)
Initializes a new instance of the NameValueItem<T> class.
Properties
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
True if this instance is selected; otherwise, false.
Name
Gets the name.
Value
Gets the value.
Declaration
public T Value { get; }
Property Value
T
The value.
Methods
OnPropertyChanged(string)
Raises the property changed.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
propertyName
The name.
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements