Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the type of view to display in this Web Part.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<WebPartStorageAttribute(Storage.None)> _
Public Property ViewType As ViewType
Get
Set
'Usage
Dim instance As ListViewWebPart
Dim value As ViewType
value = instance.ViewType
instance.ViewType = value
[WebPartStorageAttribute(Storage.None)]
public ViewType ViewType { get; set; }
Property Value
Type: Microsoft.SharePoint.WebPartPages.ViewType
Value from the Microsoft.SharePoint.WebPartPages.ViewType enumeration.
Remarks
The ViewType property is read/write.