Export (0) Print
Expand All

IListWebPart.ViewFlags property

Gets or sets the type of content to be displayed by the current Web Part.

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

SPViewFlags ViewFlags { get; set; }

Property value

Type: Microsoft.SharePoint.SPViewFlags
A SPViewFlags object that specifies the type of content that the Web Part displays.

For a view Web Part, this value is normally one of Hidden, ReadOnly, or Html. For a form Web Part, this value is set to Default to signify that this is the default Web Part form or just HTML.

Community Additions

Show:
© 2014 Microsoft