0 out of 3 rated this helpful - Rate this topic

ListViewWebPart.ViewType Property

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
[WebPartStorageAttribute(Storage.None)]
public ViewType ViewType { get; set; }

Property Value

Type: Microsoft.SharePoint.WebPartPages.ViewType
Value from the Microsoft.SharePoint.WebPartPages.ViewType enumeration.

The ViewType property is read/write.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ