'Declaration Public Event ColumnResized As EventHandler(Of ColumnResizedEventArgs)
public event EventHandler<ColumnResizedEventArgs> ColumnResized
The event handler receives an argument of type ColumnResizedEventArgs containing data related to this event. The following ColumnResizedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Columns | A Collection of columns that was resized during the action. |
AddHandler Me.MyGrid.ColumnResized, AddressOf MyGrid_ColumnResized Private Sub MyGrid_ColumnResized(ByVal sender As System.Object, ByVal e As ColumnResizedEventArgs) System.Diagnostics.Debug.WriteLine("Column Successfully resized") End Sub
this.MyGrid.ColumnResized += new EventHandler<ColumnResizedEventArgs>(MyGrid_ColumnResized); void MyGrid_ColumnResized(object sender, ColumnResizedEventArgs e) { System.Diagnostics.Debug.WriteLine("Column Resized successfully"); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2