DesignerActionUIStateChangeEventHandler Delegato

Definizione

Rappresenta il metodo che gestirà l'evento DesignerActionUIStateChange di un oggetto DesignerActionUIService.

public delegate void DesignerActionUIStateChangeEventHandler(System::Object ^ sender, DesignerActionUIStateChangeEventArgs ^ e);
public delegate void DesignerActionUIStateChangeEventHandler(object sender, DesignerActionUIStateChangeEventArgs e);
type DesignerActionUIStateChangeEventHandler = delegate of obj * DesignerActionUIStateChangeEventArgs -> unit
Public Delegate Sub DesignerActionUIStateChangeEventHandler(sender As Object, e As DesignerActionUIStateChangeEventArgs)

Parametri

sender
Object

Oggetto Object che ha generato l'evento.

e
DesignerActionUIStateChangeEventArgs

Informazioni specifiche dell'evento.

Commenti

Il modello di evento in .NET Framework si basa sulla presenza di un delegato di evento che connette un evento al relativo gestore. Per generare un DesignerActionUIStateChange evento, sono necessari due elementi:

Quando si crea un DesignerActionUIStateChangeEventHandler delegato, si identifica il metodo che gestirà l'evento. Per associare l'evento al gestore eventi, aggiungere un'istanza del delegato all'evento. Il gestore eventi viene chiamato ogni volta che si verifica l'evento, a meno che non si rimuovono il delegato. Per altre informazioni sui delegati del gestore eventi, vedere Gestione e generazione di eventi.

Metodi di estensione

Nome Descrizione
GetMethodInfo(Delegate)

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.

Si applica a

Vedi anche