ListViewDesigner.GetDesignTimeHtml 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
生成用于在设计时呈现关联 ListView 控件的 HTML 标记。
重载
| 名称 | 说明 |
|---|---|
| GetDesignTimeHtml() |
生成用于在设计时呈现关联 ListView 控件的 HTML 标记。 |
| GetDesignTimeHtml(DesignerRegionCollection) |
生成 HTML 标记,该标记用于在设计时呈现关联的 ListView 控件,并使用当前选定的设计器区域填充指定的集合。 |
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和)的两个必需模板ListView.LayoutTemplate,该方法ListView.ItemTemplate将调用GetDesignTimeHtml()该方法来生成 HTML GetEmptyDesignTimeHtml标记。
另请参阅
适用于
GetDesignTimeHtml(DesignerRegionCollection)
生成 HTML 标记,该标记用于在设计时呈现关联的 ListView 控件,并使用当前选定的设计器区域填充指定的集合。
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 标记。