PropertyGrid.OnNotifyPropertyValueUIItemsChanged(Object, EventArgs) Method

Definition

protected:
 void OnNotifyPropertyValueUIItemsChanged(System::Object ^ sender, EventArgs ^ e);
protected void OnNotifyPropertyValueUIItemsChanged (object sender, EventArgs e);
protected void OnNotifyPropertyValueUIItemsChanged (object? sender, EventArgs e);
member this.OnNotifyPropertyValueUIItemsChanged : obj * EventArgs -> unit
Protected Sub OnNotifyPropertyValueUIItemsChanged (sender As Object, e As EventArgs)

Parameters

sender
Object

The source of the event.

e
EventArgs

A EventArgs that contains the event data.

Remarks

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

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

Applies to