DataFormWebPart.PageType property

Gets or sets the page type of the DataFormWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property PageType As PAGETYPE
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As PAGETYPE

value = instance.PageType

instance.PageType = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public PAGETYPE PageType { get; set; }

Property value

Type: Microsoft.SharePoint.PAGETYPE
One of the enumeration values that indicates the page type. The default is PAGE_NORMALVIEW.

Implements

IListWebPart.PageType

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace