Method | Description | |
---|---|---|
AllowNestedProperties ( this dataGridView, bool value ) : void |
Enables the display of recursively nested properties in the Windows.Forms' DataGridView control. This method will register a custom cell formatting event in the DataGridView and retrieve any nested property specified in the column's DataPropertyName property using reflection. This method is based on th idea by Antonio Bello, originally shared in: http://www.developer-corner.com/2007/07/datagridview-how-to-bind-nested-objects_18.html |
Method | Description | |
---|---|---|
BindProperty ( object property, string propertyName, string format, IFormatProvider provider ) : string | ||
dataGridView1_CellFormatting ( object sender, System.Windows.Forms.DataGridViewCellFormattingEventArgs e ) : void |
public static AllowNestedProperties ( this dataGridView, bool value ) : void | ||
dataGridView | this | The |
value | bool | True to use nested properties, false otherwise. |
return | void |