AutoSizeColumnModeChanged Event
TOC
Collapse the table of content
Expand the table of content

DataGridView.AutoSizeColumnModeChanged Event

 

Occurs when the value of the AutoSizeMode property of a column changes.

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

member AutoSizeColumnModeChanged : IEvent<DataGridViewAutoSizeColumnModeEventHandler,
    DataGridViewAutoSizeColumnModeEventArgs>

For more information about handling events, see NIB: Consuming Events.

The following code example illustrates the use of this event. This example is part of a larger example available in How to: Manipulate Columns in the Windows Forms DataGridView Control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft