Occurs when column's position or column's size is changed.
Type | Description |
The LayoutChanged event is fired each time when the user resizes a column, or drags the column to a new position. Use the LayoutChanged event to notify your application that the columns position or size is changed. Use the LayoutChanged event to save the columns position and size for future use. Use the Width property to retrieve the column's width. Use the Position property to retrieve the column's position. The Visible property specifies whether a column is shown or hidden. Use the ColumnAutoResize property to specify whether the visible columns fit the control's client area.
Syntax for LayoutChanged event, /NET version, on:
private void LayoutChanged(object sender) { } Private Sub LayoutChanged(ByVal sender As System.Object) Handles LayoutChanged End Sub |
private void LayoutChanged(object sender, EventArgs e) { } void OnLayoutChanged() { } void __fastcall LayoutChanged(TObject *Sender) { } procedure LayoutChanged(ASender: TObject; ); begin end; procedure LayoutChanged(sender: System.Object; e: System.EventArgs); begin end; begin event LayoutChanged() end event LayoutChanged Private Sub LayoutChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LayoutChanged End Sub Private Sub LayoutChanged() End Sub Private Sub LayoutChanged() End Sub LPARAMETERS nop PROCEDURE OnLayoutChanged(oTree) RETURN |
<SCRIPT EVENT="LayoutChanged()" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function LayoutChanged() End Function </SCRIPT> Procedure OnComLayoutChanged Forward Send OnComLayoutChanged End_Procedure METHOD OCX_LayoutChanged() CLASS MainDialog RETURN NIL void onEvent_LayoutChanged() { } function LayoutChanged as v () end function function nativeObject_LayoutChanged() return |