Share via


DataViewWebPart.ViewFlags property

Used to determine the SPViewFlags for the web part. SPViewFlags determine the type of content the web part will view. Implementation is for IListWebPart.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

value = instance.ViewFlags

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

Property value

Type: Microsoft.SharePoint.SPViewFlags
The web part's SPViewFlags.

Implements

IListWebPart.ViewFlags

See also

Reference

DataViewWebPart class

DataViewWebPart members

Microsoft.SharePoint.WebPartPages namespace