This documentation is archived and is not being maintained.

ListViewDesigner Class

Provides design-time support in a visual designer for the ListView control.

Namespace:  System.Web.UI.Design.WebControls
Assembly:  System.Web.Extensions.Design (in System.Web.Extensions.Design.dll)

public ref class ListViewDesigner : public DataBoundControlDesigner

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:

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5
Show: