DataGrid::CreateGridColumn Method (PropertyDescriptor^, Boolean)
.NET Framework (current version)
Creates a DataGridColumnStyle using the specified PropertyDescriptor.
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
Available since 1.1
Show: