Show / Hide Table of Contents

Class SelectableItem<T>

A generic type representing a view-model class for an underlying item that can be selected/deselected as part of multi-selection, etc.

Inheritance
object
BindableBase
SelectableItem<T>
Implements
INotifyPropertyChanged
ISelectableItem
Inherited Members
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class SelectableItem<T> : BindableBase, INotifyPropertyChanged, ISelectableItem
Type Parameters
Name Description
T

The item.

Constructors

View Source

SelectableItem()

Initializes a new instance of the SelectableItem<T> class.

Declaration
public SelectableItem()
View Source

SelectableItem(T, bool)

Initializes a new instance of the SelectableItem<T> class.

Declaration
public SelectableItem(T item, bool isSelected)
Parameters
Type Name Description
T item

The item to copy.

bool isSelected

The selection state to copy.

Properties

View Source

IsSelected

Gets or sets a value indicating whether the item is selected or not.

Declaration
public bool IsSelected { get; set; }
Property Value
Type Description
bool
View Source

Item

Gets or sets the underlying item.

Declaration
public T Item { get; set; }
Property Value
Type Description
T
View Source

SelectableObject

Gets the selectable item.

Declaration
public object SelectableObject { get; }
Property Value
Type Description
object

Methods

View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()

Implements

INotifyPropertyChanged
ISelectableItem
  • View Source
In this article
Back to top Generated by DocFX