Strip Item. On Parent Enabled Changed(EventArgs) Method
protected public: virtual void OnParentEnabledChanged(EventArgs ^ e);
protected internal virtual void OnParentEnabledChanged (EventArgs e);
abstract member OnParentEnabledChanged : EventArgs -> unit override this.OnParentEnabledChanged : EventArgs -> unit
Protected Friend Overridable Sub OnParentEnabledChanged (e As EventArgs)
Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.
The OnParentEnabledChanged 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.