BaseDataBoundControlDesigner.GetEmptyDesignTimeHtml 方法

定义

如果控件为空,或者无法检索数据源,则提供在设计时用来呈现控件的标记。

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

返回

用于在设计时使用空的数据源来呈现该控件的标记。

注解

BaseDataBoundControlDesigner 检索在设计时用于绑定目的的示例数据,然后再呈现控件。 空设计时控件呈现为包含类型名称和控件名称的占位符。

适用于

另请参阅