| ExtensionMethodsHasRectangularCellSelection Method |
Determines whether the cell selection of the data grid is a rectangular range.
Namespace:
DataGridExtensions
Assembly:
DataGridExtensions (in DataGridExtensions.dll)
Syntax public static bool HasRectangularCellSelection(
this DataGrid dataGrid
)
<ExtensionAttribute>
Public Shared Function HasRectangularCellSelection (
dataGrid As DataGrid
) As Boolean
Parameters
- dataGrid
- Type: System.Windows.ControlsDataGrid
The data grid.
Return Value
Type:
Booleantrue if the cell selection is a rectangular range.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DataGrid. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also