ToolZone::AssociatedDisplayModes Property
Gets the collection of WebPartDisplayMode objects that are associated with a particular ToolZone zone.
Assembly: System.Web (in System.Web.dll)
public: [BrowsableAttribute(false)] property WebPartDisplayModeCollection^ AssociatedDisplayModes { WebPartDisplayModeCollection^ get(); }
Property Value
Type: System.Web.UI.WebControls.WebParts::WebPartDisplayModeCollection^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.
Note |
|---|
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. |
Tool zone type | Associated display mode |
|---|---|
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.
Available since 2.0
