This topic has not yet been rated - Rate this topic

ToolZone.AssociatedDisplayModes Property

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

Gets the collection of WebPartDisplayMode objects that are associated with a particular ToolZone zone.

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

public WebPartDisplayModeCollection AssociatedDisplayModes { get; }
/** @property */
public WebPartDisplayModeCollection get_AssociatedDisplayModes ()

public function get AssociatedDisplayModes () : WebPartDisplayModeCollection

Property Value

A WebPartDisplayModeCollection that contains WebPartDisplayMode objects associated with a ToolZone control.

Each ToolZone control has a special page display mode associated with it, as indicated in the following table.

NoteNote

In the implementation of ToolZone zones provided by the Web Parts control set, each zone is associated with only one display mode. However, using the ToolZone(ICollection) you could associate a custom zone with multiple display modes.

The collection of associated display modes for each zone on a page is added to the SupportedDisplayModes property, which determines the total set of possible display modes on a page.

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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.