This topic has not yet been rated - Rate this topic

SPWebPartManager.CreateDisplayModes Method

SharePoint 2010

Creates the set of all possible display modes for a Web Parts application.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
protected override WebPartDisplayModeCollection CreateDisplayModes()

Return Value

Type: System.Web.UI.WebControls.WebParts.WebPartDisplayModeCollection
The Web Part display modes that are supported.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ