New to Telerik UI for WPFStart a free 30-day trial

Helper class that mimics EnumerableRowCollection, but exposes the source DataTable as public property.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public class EnumerableDataRowCollection : IEnumerable<DataRow>, IEnumerable

Inheritance: objectEnumerableDataRowCollection

Implements: IEnumerableIEnumerable<DataRow>

Constructors

Initializes a new instance of the EnumerableDataRowCollection class.

C#
public EnumerableDataRowCollection(DataTable dataTable)
Parameters:dataTableDataTable

The source data table.

Properties

Gets the source data table.

C#
public DataTable DataTable { get; }
Property Value:

The source data table.

Methods

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<DataRow> GetEnumerator()
Returns:

IEnumerator<DataRow>

A IEnumerator<T> that can be used to iterate through the collection.

Implements: IEnumerable<DataRow>.GetEnumerator()