Syncfusion.Grid.Windows


Syncfusion.Windows.Forms.Grid Namespace : GridControllerOptions Enumeration

GridControllerOptions Enumeration

Defines which mouse controllers should be enabled for the grid.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum GridControllerOptions 
   Inherits System.Enum
'Usage
 
Dim instance As GridControllerOptions
[Flags()]
public enum GridControllerOptions : System.Enum 
Members
MemberDescription
All Enable support for all default mouse controllers.
ClickCells This option enables a mouse controller that handles mouse events for cell elements. Enable this controller if you want cell renderers and cell button elements to receive mouse events.
DragColumnHeader This option enables a mouse controller that provides support for dragging column headers within the grid by clicking on a header and dragging it to a new position.
DragSelectRowOrColumn This option enables a mouse controller that handles user interaction for dragging selected rows or columns.
ExcelLikeSelectionThis option enables Excel-like selection behavior. (It is not really a controller ...) When the user selects a range of cells, the active range is outlined with a selection margin and a cross on the bottom-right side. See GridRangeInfoList.ActiveRange for GridModel.SelectedRanges.
None Represents None.
OleDataSource This option enables a mouse controller that handles user interaction OLE drag support for selected range of cells when the user clicks the mouse button on the edge of the selected range.
OleDropTarget This option enables a mouse controller that handles user interaction for OLE drop support when the user drags data from within the grid or an outside application.
ResizeCells This option enables a mouse controller that handles user interaction for resizing rows or columns with the mouse.
SelectCells This option enables a mouse controller that handles user interaction for selecting cells with the mouse.
Remarks
When you assign this enumeration value to GridModelOptions.ControllerOptions, the grid will create or disable specified mouse controllers for the grid. Each of these mouse controllers implements the Syncfusion.Windows.Forms.IMouseController interface and gets registered with Syncfusion.Windows.Forms.ScrollControl.MouseControllerDispatcher.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Syncfusion.Windows.Forms.Grid.GridControllerOptions

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.14

See Also