New to Telerik UI for WPFStart a free 30-day trial

An interface that is implemented by classes which expose selection behavior.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public interface ISelectionBehavior

Derived Classes: ExtendedSelectionBehaviorMultiSelectionBehaviorReadOnlySelectionBehaviorSingleSelectionBehaviorSchedulingSelectionBehavior

Properties

Gets a value indicating whether this instance can select multiple items.

C#
bool CanSelectMultiple { get; }

Methods

Gets the items for selection.

C#
SelectionState GetItemsForSelection(SelectionState selectionState)
Parameters:selectionStateSelectionStateReturns:

SelectionState

Gets the items for selection on user interaction.

C#
SelectionState GetItemsForSelectionOnUserInteraction(SelectionState selectionState)
Parameters:selectionStateSelectionStateReturns:

SelectionState

Gets the state of the keyboard modifiers.

C#
KeyboardModifiersState GetKeyboardModifiersState()
Returns:

KeyboardModifiersState