FormViewDesigner.GetEmptyDesignTimeHtml 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得用於在設計時渲染相關控制項佔位符的標記文字。
protected:
override System::String ^ GetEmptyDesignTimeHtml();
protected override string GetEmptyDesignTimeHtml();
override this.GetEmptyDesignTimeHtml : unit -> string
Protected Overrides Function GetEmptyDesignTimeHtml () As String
傳回
包含 String 標記文字,會渲染成設計表面上的佔位符。
備註
若控制項的標記 FormView 未包含任何項目範本, GetDesignTimeHtml 方法會呼叫該 GetEmptyDesignTimeHtml 方法,產生佔位符標記,該標記包含編輯範本內容的指示及需要項目範本的訊息。