Method ToDataGrid
| Edit this page View SourceToDataGrid<T>(ChannelGrid, string)
Creates a new DataGrid of type T from the data stored in a specified channel of a ChannelGrid.
Declaration
public static DataGrid<T> ToDataGrid<T>(this ChannelGrid channelGrid, string channelName) where T : unmanaged
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelGrid | channelGrid | The ChannelGrid that contains the data in one of its channels. This grid will not be modified by this operation. |
| string | channelName | Name of the channel |
Returns
| Type | Description |
|---|---|
| DataGrid<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the values in the DataGrid to create. |