ToolZone.AssociatedDisplayModes Property

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:
property WebPartDisplayModeCollection^ AssociatedDisplayModes {
	WebPartDisplayModeCollection^ get ();
}
/** @property */
public WebPartDisplayModeCollection get_AssociatedDisplayModes ()

public function get AssociatedDisplayModes () : WebPartDisplayModeCollection

Not applicable.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: