Click or drag to resize

ExtensionMethodsGetVisibleSelectedCells Method

Gets the selected cells that are in visible columns.

Namespace:  DataGridExtensions
Assembly:  DataGridExtensions (in DataGridExtensions.dll)
Syntax
public static IList<DataGridCellInfo> GetVisibleSelectedCells(
	this DataGrid dataGrid
)

Parameters

dataGrid
Type: System.Windows.ControlsDataGrid
The data grid.

Return Value

Type: IListDataGridCellInfo
The selected cells of visible columns.

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