GridColumnStylesCollection::ResetPropertyDescriptors Method ()
.NET Framework (current version)
Sets the PropertyDescriptor for each column style in the collection to null.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The following code example demonstrates the use of this member.
private: void ResetButton_Click( Object^ /*sender*/, EventArgs^ /*e*/ ) { DataGridTableStyle^ myTableStyle = myDataGrid->TableStyles[ 0 ]; GridColumnStylesCollection^ myColumns = myTableStyle->GridColumnStyles; // Reset the property descriptor of column styles collection. myColumns->ResetPropertyDescriptors(); }
.NET Framework
Available since 1.1
Available since 1.1
Show: