편집

다음을 통해 공유


ToolStripPanelRow.OnOrientationChanged Method

Definition

Occurs when the value of the Orientation property changes.

protected public:
 virtual void OnOrientationChanged();
protected internal virtual void OnOrientationChanged ();
abstract member OnOrientationChanged : unit -> unit
override this.OnOrientationChanged : unit -> unit
Protected Friend Overridable Sub OnOrientationChanged ()

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnOrientationChanged 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.

Notes to Inheritors

When overriding OnOrientationChanged() in a derived class, be sure to call the base class's OnOrientationChanged() method so that registered delegates receive the event.

Applies to