Enum GridControllerOptions
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.
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
[Flags]
public enum GridControllerOptions
Remarks
When you assign this enumeration value to ControllerOptions, the grid will create or disable specified mouse controllers for the grid. Each of these mouse controllers implements the IMouseController interface and gets registered with MouseControllerDispatcher.
Fields
Name | Description |
---|---|
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. |
ExcelLikeSelection | This 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 ActiveRange for 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. |