Share via


ManagementGroupBox.OnRightToLeftChanged(EventArgs) Method

Definition

Provides a mechanism to perform an action when the RightToLeftLayout property changes.

protected:
 override void OnRightToLeftChanged(EventArgs ^ e);
protected override void OnRightToLeftChanged (EventArgs e);
override this.OnRightToLeftChanged : EventArgs -> unit
Protected Overrides Sub OnRightToLeftChanged (e As EventArgs)

Parameters

e
EventArgs

A EventArgs that contains the event data.

Examples

The following example demonstrates the OnRightToLeftChanged method. This example calls the OnRightToLeftChanged method after the RightToLeftLayout property changes. This code example is part of a larger example provided for the ManagementGroupBox class.

// Create the customized OnRightToLeftchanged method.
protected override void OnRightToLeftChanged(EventArgs e)
{
    ShowMessage("Management group box RightToLeftLayout changed.");
}

Remarks

Implementers should call this method when the RightToLeftLayout property changes. This method enables you to create a custom OnRightToLeftChanged method.

Applies to