ListViewWebPart.ViewFlags Property

Gets or sets the type of content to be displayed by the ListViewWebPart.

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

Syntax

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

value = instance.ViewFlags

instance.ViewFlags = value
[BrowsableAttribute(false)]
[WebBrowsableAttribute(false)]
[RequiresDesignerPermissionAttribute]
[WebPartStorageAttribute(Storage.Shared)]
public SPViewFlags ViewFlags { get; set; }

Property Value

Type: Microsoft.SharePoint.SPViewFlags
One of the enumeration values that indicates the type of content. The default value is Html.

Implements

IListWebPart.ViewFlags

See Also

Reference

ListViewWebPart Class

ListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace