ListFormWebPart.PageType Property
SharePoint 2010
Gets or sets the page type for ListFormWebPart.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[WebBrowsableAttribute(false)] [WebPartStorageAttribute(Storage.Shared)] [BrowsableAttribute(false)] public PAGETYPE PageType { get; set; }
Property Value
Type: Microsoft.SharePoint.PAGETYPEOne of the enumeration values that indicates the type of a form. The default value is PAGE_INVALID.
Implements
IListWebPart.PageTypeFor a view Web Part, this value is normally set to PAGE_NORMALVIEW. For a form Web Part, this value can be set to a form page type, such as PAGE_DISPLAYFORM, PAGE_EDITFORM, or PAGE_NEWFORM.