Class
SelectionState

Represents a class that holds the selection state for the selection behaviors.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class SelectionState

Inheritance: objectSelectionState

Constructors

SelectionState(Func<IEnumerable>)

Initializes a new instance of the SelectionState class.

Declaration

cs-api-definition
public SelectionState(Func<IEnumerable> getAllItems)

Parameters

getAllItems

Func<IEnumerable>

Properties

Anchor

Gets or sets the anchor.

Declaration

cs-api-definition
public object Anchor { get; set; }

Property Value

object

ClearPreviousSelectedItems

Gets or sets a value indicating whether the previous selected items will be cleared.

Declaration

cs-api-definition
public bool ClearPreviousSelectedItems { get; set; }

Property Value

bool

CurrentItemsState

Gets or sets the state of the current items. If no value is set, true is default one.

Declaration

cs-api-definition
public bool? CurrentItemsState { get; set; }

Property Value

bool?

Items

Gets all selector items.

Declaration

cs-api-definition
public IEnumerable Items { get; }

Property Value

IEnumerable

ItemsForSelection

Gets the items for selection.

Declaration

cs-api-definition
public IList<object> ItemsForSelection { get; }

Property Value

IList<object>

MouseState

Gets or sets the pressed mouse button.

Declaration

cs-api-definition
public SelectionMouseState MouseState { get; set; }

Property Value

SelectionMouseState

PreviousSelectedItems

Gets the previous selected items.

Declaration

cs-api-definition
public IList<object> PreviousSelectedItems { get; }

Property Value

IList<object>