ValidationSummary.OnInit(EventArgs) 方法

定義

引發 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)

參數

e
EventArgs

事件資料。The event data.

備註

在這個方法呼叫基底控制項的 OnInit 方法之後, ForeColor Red 如果下列條件成立,就會將屬性設定為:After this method calls the base control's OnInit method, it sets the ForeColor property to Red if the following conditions are true:

適用於

另請參閱