DataGrid.CreateGridColumn Method (PropertyDescriptor, Boolean)

 

Creates a DataGridColumnStyle using the specified PropertyDescriptor.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected virtual DataGridColumnStyle CreateGridColumn(
	PropertyDescriptor prop,
	bool isDefault
)

Parameters

prop
Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor to use for creating the grid column style.

isDefault
Type: System.Boolean

true to set the column style as the default; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: