System.Windows.Forms.Form.OnRightToLeftLayoutChanged Method

Raises the Form.RightToLeftLayoutChanged event.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected virtual void OnRightToLeftLayoutChanged (EventArgs e)

Parameters

e
An EventArgs that contains the event data.

Remarks

If the current form or one of its parents is disposing of resources, the Form.OnRightToLeftLayoutChanged(EventArgs) method will return without performing any action. If the Control.RightToLeft property of the form has a value of RightToLeft.Yes, then the handles of the form and its child controls will be recreated through calls to the Control.RecreateHandle method.

Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

The Form.OnRightToLeftLayoutChanged(EventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Requirements

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