NDDataGrid class

Represents a data grid control.

Inherits from

System.Windows.Controls.DataGrid

 

Syntax

public class NDDataGrid : DataGrid

Properties

Name Description
CanUserAddRow Gets or sets a flag indicating whether users can add rows.
CanUserDeleteRow Gets or sets a flag indicating whether users can delete rows.
DataSource Gets or sets data of the grid in XML format.
RowsCount Gets the number of rows in this grid.
ShowRowNumbers Gets or sets a flag indicating whether to show row indexes in the row headers.

 

Methods

Name Description
AddRow Adds a row and returns its reference.
DeleteRow(int) Removes a row at the given index.
DeleteRow(Row) Removes a given row.
DeleteSelectedRows Removes all selected rows.
GetColumnBySortMemberPath Gets a reference to a data grid column by value of its SortMemberPath property.