PropertyGrid.OnPropertyTabChanged(PropertyTabChangedEventArgs) Method

Definition

Raises the PropertyTabChanged event.

protected:
 virtual void OnPropertyTabChanged(System::Windows::Forms::PropertyTabChangedEventArgs ^ e);
protected virtual void OnPropertyTabChanged (System.Windows.Forms.PropertyTabChangedEventArgs e);
abstract member OnPropertyTabChanged : System.Windows.Forms.PropertyTabChangedEventArgs -> unit
override this.OnPropertyTabChanged : System.Windows.Forms.PropertyTabChangedEventArgs -> unit
Protected Overridable Sub OnPropertyTabChanged (e As PropertyTabChangedEventArgs)

Parameters

e
PropertyTabChangedEventArgs

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

Applies to