ComponentOne List for WinForms
C1.Win.C1List Namespace / SelectionModeEnum Enumeration

In This Topic
    SelectionModeEnum Enumeration
    In This Topic
    Specifies the UI behavior for selecting rows and columns.
    Syntax
    'Declaration
     
    
    Public Enum SelectionModeEnum 
       Inherits System.Enum
    public enum SelectionModeEnum : System.Enum 
    Members
    MemberDescription
    CheckBoxThe user can select or unselect rows by clicking checkboxes.
    MultiExtendedPressing Shift and clicking the mouse or pressing Shift and one of the arrow keys (Up Arrow, Down Arrow, Left Arrow, or Right Arrow) extends the selection from the previously selected item to the current item. Pressing Ctrl and clicking the mouse selects or deselects an item in the list. Since selected rows do not have to be adjacent, the user can also operate the vertical scroll bar to bring other rows into view if desired.
    MultiSimpleIf the user clicks a row, that row is selected, and the SelectedIndex property returns a bookmark for that row. If more than one row is selected, the SelectedIndex property returns the bookmark of the most recently selected row, and the SelectedIndices collection contains the bookmarks for all selected rows. The user can also unselect a row.
    NoneThe user cannot select rows.
    OneOnly one item in the list can be selected.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.C1List.SelectionModeEnum

    See Also