Click or drag to resize

ExtensionMethods Class

Extension methods for the data grid.
Inheritance Hierarchy
SystemObject
  DataGridExtensionsExtensionMethods

Namespace:  DataGridExtensions
Assembly:  DataGridExtensions (in DataGridExtensions.dll)
Syntax
public static class ExtensionMethods

The ExtensionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCanSelectAll
Determines whether it's safe to call "DataGrid.SelectAll()".
Public methodStatic memberEnableMultilineEditing
Tweaks the editing element style to enable multi-line editing.
Public methodStatic memberGetCellSelection
Gets the content of the selected cells as a table of strings.
Public methodStatic memberGetVisibleSelectedCells
Gets the selected cells that are in visible columns.
Public methodStatic memberHasRectangularCellSelection
Determines whether the cell selection of the data grid is a rectangular range.
Public methodStatic memberPasteCells
Replaces the selected cells with the data. Cell selection and the data table must have matching dimensions, either 1:n, n:1 or n:x*n.
Top
See Also