NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.CreateGridColumn

Creates a TBD using the specified DataColumn.

[Visual Basic]
Overridable Protected Function CreateGridColumn( _
   ByVal prop As PropertyDescriptor _
) As DataGridColumn
[C#]
protected virtual DataGridColumn CreateGridColumn(
   PropertyDescriptor prop
);
[C++]
protected: virtual DataGridColumn* CreateGridColumn(
   PropertyDescriptor* prop
);
[JScript]
protected function CreateGridColumn(
   prop : PropertyDescriptor
) : DataGridColumn;

Parameters

prop
[To be supplied.]

Return Value

The new DataGridColumn.

Example

The following example creates a new DataColumn and passes it to the CreateGridColumn method to return a new DataGridColumn.

s

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace | DataColumn | DataGridColumn | GridColumnsCollection