DataPagerDesigner.GetEmptyDesignTimeHtml 方法

定义

生成 HTML 标记,该标记表示 DataPager 在设计时没有视觉表示形式的控件。

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

返回

在设计时表示空 DataPager 控件的 HTML 标记。

注解

GetEmptyDesignTimeHtml如果DataPager集合为空,DataPager.Fields设计器将使用该方法在设计时呈现控件。 该方法 GetEmptyDesignTimeHtml 调用 CreatePlaceHolderDesignTimeHtml(String) 该方法以创建一个占位符,该占位符显示控件的类型和 ID 以及用户的其他说明。

适用于

另请参阅