แก้ไข

แชร์ผ่าน


ListViewDesigner.GetDesignTimeHtml Method

Definition

Generates the HTML markup that is used to render the associated ListView control at design time.

Overloads

GetDesignTimeHtml()

Generates the HTML markup that is used to render the associated ListView control at design time.

GetDesignTimeHtml(DesignerRegionCollection)

Generates the HTML markup that is used to render the associated ListView control at design time, and populates the specified collection with the currently selected designer region.

GetDesignTimeHtml()

Generates the HTML markup that is used to render the associated ListView control at design time.

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

Returns

The HTML markup that is used to render the associated ListView control at design time.

Remarks

If the two required templates for the ListView control (ListView.LayoutTemplate and ListView.ItemTemplate) are not defined, the GetDesignTimeHtml() method calls the GetEmptyDesignTimeHtml method to generate the HTML markup.

See also

Applies to

GetDesignTimeHtml(DesignerRegionCollection)

Generates the HTML markup that is used to render the associated ListView control at design time, and populates the specified collection with the currently selected designer region.

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

Parameters

regions
DesignerRegionCollection

A collection of designer regions for the associated ListView control.

Returns

The HTML markup that is used to render the associated ListView control at design time.

See also

Applies to