DataGridTableStyle::CreateGridColumn Method (PropertyDescriptor^, Boolean)

 

Creates a DataGridColumnStyle using the specified property descriptor. Specifies whether the DataGridColumnStyle is a default column style.

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

public protected:
virtual DataGridColumnStyle^ CreateGridColumn(
	PropertyDescriptor^ prop,
	bool isDefault
)

Parameters

prop
Type: System.ComponentModel::PropertyDescriptor^

The PropertyDescriptor used to create the column style object.

isDefault
Type: System::Boolean

Specifies whether the DataGridColumnStyle is a default column style. This parameter is read-only.

.NET Framework
Available since 1.1
Return to top
Show: