DataGrid.CreateGridColumn Method (PropertyDescriptor, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: