Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / SelectionMode Enumeration


In This Topic
    SelectionMode Enumeration
    In This Topic
    Represents the selection mode of the specified list box.
    Syntax
    'Declaration
     
    
    Public Enum SelectionMode 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As SelectionMode
    public enum SelectionMode : System.Enum 
    Members
    MemberDescription
    ExtendedExtended multiselect usually acts like a single-selection list box, so when you choose an item, you cancel all other selections. When you hold down Shift while choosing the mouse or pressing an arrow key, you select items sequentially from the current item. When you hold down Ctrl while choosing the mouse, you add single items to the list.
    NoneSingle select allows only one item at a time to be selected.
    SimpleSimple multiselect toggles the selection on an item in the list when it's chosen with the mouse or the Spacebar is pressed when the focus is on the item.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Spreadsheet.Drawing.SelectionMode

    See Also