ValidationSummary.OnInit(EventArgs) Método

Definição

Aciona o evento Init.Raises the Init event.

protected public:
 override void OnInit(EventArgs ^ e);
protected internal override void OnInit (EventArgs e);
override this.OnInit : EventArgs -> unit
Protected Friend Overrides Sub OnInit (e As EventArgs)

Parâmetros

e
EventArgs

Os dados do evento.The event data.

Comentários

Depois que esse método chama o método do controle base OnInit , ele define a ForeColor propriedade como Red se as seguintes condições forem verdadeiras:After this method calls the base control's OnInit method, it sets the ForeColor property to Red if the following conditions are true:

Aplica-se a

Confira também