語言

FormViewDesigner.GetEmptyDesignTimeHtml 方法

定義

取得用於在設計時渲染相關控制項佔位符的標記文字。

protected:
 override System::String ^ GetEmptyDesignTimeHtml();
protected override string GetEmptyDesignTimeHtml();
override this.GetEmptyDesignTimeHtml : unit -> string
Protected Overrides Function GetEmptyDesignTimeHtml () As String

傳回

包含 String 標記文字,會渲染成設計表面上的佔位符。

備註

若控制項的標記 FormView 未包含任何項目範本, GetDesignTimeHtml 方法會呼叫該 GetEmptyDesignTimeHtml 方法,產生佔位符標記,該標記包含編輯範本內容的指示及需要項目範本的訊息。

適用於

另請參閱