Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.