Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ConnectionsZoneDesigner Class

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

Provides design-time support for ConnectionsZone controls.

Namespace: System.Web.UI.Design.WebControls.WebParts
Assembly: System.Design (in system.design.dll)

public class ConnectionsZoneDesigner : ToolZoneDesigner
public class ConnectionsZoneDesigner extends ToolZoneDesigner
public class ConnectionsZoneDesigner extends ToolZoneDesigner

ConnectionsZoneDesigner provides a design-time representation of a ConnectionsZone control with a menu to access the AutoFormats collection and the ViewInBrowseMode property for the convenience of the page developer. It is the only zone designer that does not support designer regions. This is because ConnectionsZone controls uses links to create connections instead of a drag-and-drop user interface (UI).

The AutoFormats collection and the ViewInBrowseMode property both appear on the verbs menu of the ConnectionsZone control. AutoFormats, when selected, provides a selection of color schemes. The ViewInBrowseMode check box, when selected, displays the contents of the control as it would appear in the browser; the control will be empty until a connection is made.

You can inherit from ConnectionsZoneDesigner to support a custom ConnectionsZone control as with any other control designer. You can override the GetDesignTimeHtml method to change the markup that renders the control. You can also override the AutoFormats collection to add a DesignerAutoFormatCollection with a custom scheme.

The following code example shows how to hide additional properties from a custom ConnectionsZone control by overriding the PreFilterProperties method.

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 Millennium Edition, 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.