Este artículo se tradujo automáticamente. Para ver el artículo en inglés, active la casilla Inglés. Además, puede mostrar el texto en inglés en una ventana emergente si mueve el puntero del mouse sobre el texto.
Traducción
Inglés

Delegado DesignerActionListsChangedEventHandler

 

Publicado: octubre de 2016

Representa el método que controlará el evento DesignerActionListsChanged de DesignerActionService. Esta clase no puede heredarse.

Espacio de nombres:   System.ComponentModel.Design
Ensamblado:  System.Design (en System.Design.dll)

[ComVisibleAttribute(true)]
public delegate void DesignerActionListsChangedEventHandler(
	object sender,
	DesignerActionListsChangedEventArgs e
)

Parámetros

sender
Type: System.Object

Origen del evento.

e
Type: System.ComponentModel.Design.DesignerActionListsChangedEventArgs

Objeto DesignerActionListsChangedEventArgs que contiene los datos del evento.

The event model in the dnprdnshort is based on having an event delegate that connects an event with its handler. To raise a E:System.ComponentModel.Design.DesignerActionService.DesignerActionListsChanged event, two elements are needed:

  • The T:System.ComponentModel.Design.DesignerActionListsChangedEventArgs class, derived from T:System.EventArgs, which holds the event data.

  • The T:System.ComponentModel.Design.DesignerActionListsChangedEventHandler delegate, which points to a method that provides the response to the event.

When you create a T:System.ComponentModel.Design.DesignerActionListsChangedEventHandler 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 NIB: Events and Delegates.

.NET Framework
Disponible desde 2.0
Volver al principio
Mostrar: