Redigera

Dela via


PropertyTabChangedEventHandler Delegate

Definition

Represents the method that will handle the PropertyTabChanged event of a PropertyGrid.

public delegate void PropertyTabChangedEventHandler(System::Object ^ s, PropertyTabChangedEventArgs ^ e);
public delegate void PropertyTabChangedEventHandler(object s, PropertyTabChangedEventArgs e);
public delegate void PropertyTabChangedEventHandler(object? s, PropertyTabChangedEventArgs e);
type PropertyTabChangedEventHandler = delegate of obj * PropertyTabChangedEventArgs -> unit
Public Delegate Sub PropertyTabChangedEventHandler(s As Object, e As PropertyTabChangedEventArgs)

Parameters

s
Object

The source of the event.

e
PropertyTabChangedEventArgs

A PropertyTabChangedEventArgs that contains the event data.

Remarks

When you create a PropertyTabChangedEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

For more information about event handler delegates, see Handling and Raising Events.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to