ListFormWebPart.ViewFlags property

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

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

Syntax

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

value = instance.ViewFlags

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

Property value

Type: Microsoft.SharePoint.SPViewFlags
One of the enumeration values that indicates the type of content that the Web Part displays.

Implements

IListWebPart.ViewFlags

See also

Reference

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace