Share via


ListViewDesigner.GetDesignTimeHtml 方法

定义

生成用于在设计时呈现关联的 ListView 控件的 HTML 标记。

重载

GetDesignTimeHtml()

生成用于在设计时呈现关联的 ListView 控件的 HTML 标记。

GetDesignTimeHtml(DesignerRegionCollection)

生成用于在设计器呈现关联的 ListView 控件的 HTML 标记,并用当前选定的设计器区域填充指定集合。

GetDesignTimeHtml()

生成用于在设计时呈现关联的 ListView 控件的 HTML 标记。

public:
 override System::String ^ GetDesignTimeHtml();
public override string GetDesignTimeHtml ();
override this.GetDesignTimeHtml : unit -> string
Public Overrides Function GetDesignTimeHtml () As String

返回

用于在设计时呈现关联的 ListView 控件的 HTML 标记。

注解

如果未定义控件 (ListView.LayoutTemplate和) 的两个必需模板ListView,该方法GetDesignTimeHtml()将调用 GetEmptyDesignTimeHtml 方法来生成 HTML ListView.ItemTemplate 标记。

另请参阅

适用于

GetDesignTimeHtml(DesignerRegionCollection)

生成用于在设计器呈现关联的 ListView 控件的 HTML 标记,并用当前选定的设计器区域填充指定集合。

public:
 override System::String ^ GetDesignTimeHtml(System::Web::UI::Design::DesignerRegionCollection ^ regions);
public override string GetDesignTimeHtml (System.Web.UI.Design.DesignerRegionCollection regions);
override this.GetDesignTimeHtml : System.Web.UI.Design.DesignerRegionCollection -> string
Public Overrides Function GetDesignTimeHtml (regions As DesignerRegionCollection) As String

参数

regions
DesignerRegionCollection

关联的 ListView 控件的设计器区域集合。

返回

用于在设计时呈现关联的 ListView 控件的 HTML 标记。

另请参阅

适用于