True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / MultiSelectEnum Enumeration

In This Topic
    MultiSelectEnum Enumeration
    In This Topic
    Specifies the UI behavior for selecting rows and columns.
    Syntax
    'Declaration
     
    Public Enum MultiSelectEnum 
       Inherits System.Enum
    public enum MultiSelectEnum : System.Enum 
    Members
    MemberDescription
    ExtendedMultiple selection is enabled using the mouse. The user can also select records with the following key combinations: Shift + Up Arrow, Shift + Down Arrow, Shift + PgUp, and Shift + PgDn. NOTE: The user will not be able to select a single cell, instead the entire corresponding row will be selected.
    NoneMultiple selection is disabled but single selection is permitted. When the user clicks a record selector, the current selection is cleared, and the clicked row is then selected and added to either the SelectedRows or SelectedCols collections. The Ctrl and Shift keys are ignored, and the user can only select one row at a time.
    SimpleMultiple selection is enabled using the mouse. When the user clicks a record selector, the selection is cleared and the clicked row is selected and added to either the SelectedRows or Selected Cols collections. However, if the user holds down the Ctrl key while clicking, the clicked row is added to the current selection. The user can also select a range of rows by selecting the first row in the range, then selecting the last row in the range while holding down the Shift key.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.C1TrueDBGrid.MultiSelectEnum

    See Also