Class SelectionState
Represents a class that holds the selection state for the selection behaviors.
Inheritance
Namespace: Telerik.Windows.Controls.Primitives
Assembly: Telerik.Windows.Controls.dll
Syntax
public class SelectionState : Object
Constructors
SelectionState(Func<IEnumerable>)
Initializes a new instance of the SelectionState class.
Declaration
public SelectionState(Func<IEnumerable> getAllItems)
Parameters
System.Func<System.Collections.IEnumerable>
getAllItems
|
Properties
Anchor
Gets or sets the anchor.
Declaration
public object Anchor { get; set; }
Property Value
System.Object
|
ClearPreviousSelectedItems
Gets or sets a value indicating whether the previous selected items will be cleared.
Declaration
public bool ClearPreviousSelectedItems { get; set; }
Property Value
System.Boolean
|
CurrentItemsState
Gets or sets the state of the current items. If no value is set, true is default one.
Declaration
public Nullable<bool> CurrentItemsState { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Items
Gets all selector items.
Declaration
public IEnumerable Items { get; }
Property Value
System.Collections.IEnumerable
|
ItemsForSelection
Gets the items for selection.
Declaration
public IList<object> ItemsForSelection { get; }
Property Value
System.Collections.Generic.IList<System.Object>
|
MouseState
Gets or sets the pressed mouse button.
Declaration
public SelectionMouseState MouseState { get; set; }
Property Value
SelectionMouseState
|
PreviousSelectedItems
Gets the previous selected items.
Declaration
public IList<object> PreviousSelectedItems { get; }
Property Value
System.Collections.Generic.IList<System.Object>
|