ViewEventArgs.EventArgs Propriedade
Definição
Obtém os argumentos do evento que estão associados à ação que gerou o evento.Gets the event arguments that are associated with the action that raised the event.
public:
property EventArgs ^ EventArgs { EventArgs ^ get(); };
public EventArgs EventArgs { get; }
member this.EventArgs : EventArgs
Public ReadOnly Property EventArgs As EventArgs
Valor da propriedade
Um EventArgs que contém dados de evento adicionais que são específicos do tipo de evento.An EventArgs that contains additional event data that is specific to the type of event.
Comentários
A EventArgs propriedade fornece os argumentos de evento que são específicos para o tipo de ação especificado na EventType propriedade.The EventArgs property supplies the event arguments that are specific to the type of action that is specified in the EventType property.
Por exemplo, quando você clica em uma região, o host do designer inicializa o EventType como um Click evento e inicializa a EventArgs propriedade como um DesignerRegionMouseEventArgs objeto.For example, when you click a region, the designer host initializes the EventType as a Click event, and then initializes the EventArgs property as a DesignerRegionMouseEventArgs object.
Da mesma forma, o host do designer inicializa a EventArgs propriedade com um PaintEventArgs objeto para um Paint evento ou um TemplateModeChangedEventArgs objeto para um TemplateModeChanged evento.Similarly, the designer host initializes the EventArgs property with a PaintEventArgs object for a Paint event, or a TemplateModeChangedEventArgs object for a TemplateModeChanged event.
A EventArgs propriedade é inicializada pelo ViewEventArgs Construtor.The EventArgs property is initialized by the ViewEventArgs constructor.