Breyta

Deila með


ToolStrip.OnRendererChanged(EventArgs) Method

Definition

Raises the RendererChanged event.

protected:
 virtual void OnRendererChanged(EventArgs ^ e);
protected virtual void OnRendererChanged (EventArgs e);
abstract member OnRendererChanged : EventArgs -> unit
override this.OnRendererChanged : EventArgs -> unit
Protected Overridable Sub OnRendererChanged (e As EventArgs)

Parameters

e
EventArgs

An EventArgs that contains the event data.

Remarks

For more information about handling events, see Handling and Raising Events.

The OnRendererChanged 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 OnRendererChanged(EventArgs) in a derived class, be sure to call the base class's OnRendererChanged(EventArgs) method so that registered delegates receive the event.

Applies to

See also