ListViewDesigner Class
Provides design-time support in a visual designer for the ListView control.
Assembly: System.Web.Extensions.Design (in System.Web.Extensions.Design.dll)
In a visual designer, when you switch to a designer view (such as Design view in Visual Studio), the ListView control markup is parsed. A design-time version of the control is then created on the design surface. When you switch to source view, the design-time control is persisted as the markup for the Web page.
The properties of the ListViewDesigner class provide the following functionality:
The ActionLists property returns a list of items that are used to create a smart tag panel.
The SampleRowCount property returns the number of records that the ListView control displays on the design surface.
The UsePreviewControl property always returns true, which indicates that the designer creates a temporary copy of the associated ListView to generate the design-time markup.
The methods of the ListViewDesigner class provide the following functionality:
The GetDesignTimeHtml and GetEmptyDesignTimeHtml methods return the HTML markup that is used to render the associated ListView control at design time.
The GetEditableDesignerRegionContent and SetEditableDesignerRegionContent methods provide support for editable regions at design time.
The Initialize method prepares the designer to view, edit, and design the associated ListView control.
System.ComponentModel.Design::ComponentDesigner
System.Web.UI.Design::HtmlControlDesigner
System.Web.UI.Design::ControlDesigner
System.Web.UI.Design.WebControls::BaseDataBoundControlDesigner
System.Web.UI.Design.WebControls::DataBoundControlDesigner
System.Web.UI.Design.WebControls::ListViewDesigner
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.