PreviewControlDesigner Class

Note: This class is new in the .NET Framework version 2.0.

Provides design-time support in a visual designer for a control where the design surface must use a preview of the associated control.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in

public class PreviewControlDesigner : ControlDesigner
public class PreviewControlDesigner extends ControlDesigner
public class PreviewControlDesigner extends ControlDesigner

Notes to Inheritors The only distinction between the PreviewControlDesigner class and the ControlDesigner class is that the design host always displays a preview of the control and any modifications that are made in Design view are applied only to the preview of the control. Your code must specifically persist changes to the control.

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 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0