Share via


DataFormWebPart.PageType Property

Gets or sets the page type of the DataFormWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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