ListView for WPF | ComponentOne
C1.WPF.ListView Assembly / C1.WPF.ListView Namespace / C1TileListView Class / SelectionMode Property

In This Topic
    SelectionMode Property (C1TileListView)
    In This Topic
    Gets or sets the selection behavior. The default is single selection.
    Syntax
    'Declaration
     
    Public Property SelectionMode As C1.WPF.Core.C1SelectionMode
    public C1.WPF.Core.C1SelectionMode SelectionMode {get; set;}
    Remarks
    By default, end-user can select single item. You can change this property value to allow multiple selection or disable selection. Here are the supported selection modes.
    None Item selection is disabled.
    Single
    • A user can select a single item using the space bar, mouse click, or touch tap.
    • A user can deselect an item using a downward swipe gesture.
    While pressing Ctrl A user can deselect the item by using the space bar, mouse click, or touch tap. Using the arrow keys, a user can move focus independently of selection.
    Multiple
    • A user can select multiple items using the space bar, mouse click, or touch tap to toggle selection on the focused item.
    • Using the arrow keys, a user can move focus independently of selection.
    Extended
    • The behavior is the same as Single selection.
    While pressing Ctrl A user can select multiple items using the space bar, mouse click, or touch tap to toggle selection on the focused item. Using the arrow keys, a user can move focus independently of selection. While pressing Shift A user can select multiple contiguous items by clicking or tapping the first item in the selection and then the last item in the selection. Using the arrow keys, a user can create a contiguous selection starting with the item selected when Shift is pressed.
    See Also