ValidationSummary.OnInit(EventArgs) 方法

定義

引發 Init 事件。

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

事件資料。

備註

在此方法呼叫基底控制項的 OnInit 方法之後,如果下列條件成立,它會將 ForeColor 屬性設定為 Red

適用於

另請參閱