語言

BaseDataBoundControlDesigner.GetEmptyDesignTimeHtml 方法

定義

提供標記,若控制項為空或無法取得資料來源,設計時用於渲染控制項。

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

傳回

標記用於設計時以空資料來源渲染控制項。

備註

該 BaseDataBoundControlDesigner 類別在設計時擷取用於綁定的樣本資料,然後再渲染控制項。 空的設計時控制項會以佔位符形式呈現,包含型別名稱與控制名稱。

適用於

另請參閱