ClassSelectionState
Class
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
Properties
Anchor
Gets or sets the anchor.
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
CurrentItemsState
Gets or sets the state of the current items. If no value is set, true is default one.
Items
Gets all selector items.
ItemsForSelection
Gets the items for selection.
MouseState
Gets or sets the pressed mouse button.
Declaration
cs-api-definition
public SelectionMouseState MouseState { get; set; }
Property Value
PreviousSelectedItems
Gets the previous selected items.