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

IListWebPart.PageType property

Gets or sets the Web Part page type.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
PAGETYPE PageType { get; set; }

Property value

Type: Microsoft.SharePoint.PAGETYPE
A PAGETYPE object that identifies the type of the form.

For a view Web Part, this value is normally set to PAGE_NORMALVIEW. For a form Web Part, this can be set to a form page type (in other words, PAGE_DISPLAYFORM, PAGE_EDITFORM, or PAGE_NEWFORM).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.