语言

BaseDataBoundControlDesigner.GetEmptyDesignTimeHtml 方法

定义

提供用于在设计时呈现控件的标记(如果控件为空或数据源无法检索)。

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

返回

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

注解

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

适用于

另请参阅