ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

MultiSelectEnum Enumeration

Specifies the UI behavior for selecting rows and columns.

[Visual Basic]

Public Enum MultiSelectEnum

[C#]

public enum MultiSelectEnum

[Delphi]

type MultiSelectEnum = (Extended, None, Simple);

Namespace: C1.Win.C1TrueDBGrid

Assembly: C1.Win.C1TrueDBGrid.2 (in C1.Win.C1TrueDBGrid.2.dll)

Members

Member name

Description

Extended

Multiple selection is enabled using the mouse. The user can also select records with the following key combinations: SHIFT+UP ARROW, SHIFT+DOWN ARROW, SHIFT+PAGE UP, and SHIFT+PAGE DOWN. Note: The user will not be able to select a single cell, instead the entire corresponding row will be selected.

None

Multiple 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 SelectedRowCollection or SelectedColumnCollection collections. The CTRL and SHIFT keys are ignored, and the user can only select one row at a time.

Simple

Multiple 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 SelectedRowCollection or SelectedColumnCollection 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.

See Also

C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.