ListViewWebPart.PageType Property

Gets or sets the page type of the ListViewWebPart.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
<WebBrowsableAttribute(False)> _
Public Property PageType As PAGETYPE
    Get
    Set
'Usage
Dim instance As ListViewWebPart
Dim value As PAGETYPE

value = instance.PageType

instance.PageType = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
[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 value is PAGE_NORMALVIEW.

Implements

IListWebPart.PageType

See Also

Reference

ListViewWebPart Class

ListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace