Syncfusion.Grid.Windows


CanClearSelection Method (GridControl)

Checks if a range of cells is selected or if the grid has a current cell which contents can be cleared.
Syntax
'Declaration
 
Public Function CanClearSelection() As Boolean
'Usage
 
Dim instance As GridControl
Dim value As Boolean
 
value = instance.CanClearSelection()
public bool CanClearSelection()

Return Value

True if clearing cells with GridModel.Clear is possible; False otherwise.
Remarks
Use this to enable a "Clear" menu item or gray it out.
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also