Export (0) Print
Expand All
AclUIMode enumeration
ISPFileAlternateStreamProvider interface
SPAppDatabaseStorageState enumeration
SPClaimsOperationContext class
SPRequestUserContext class
SPTenantAppInformation class
SPTenantStore class
TenantAppUtility class
TenantSettings class
Expand Minimize

SPViewFlags enumeration

Describes the view type of a Web Part.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

'Declaration
<FlagsAttribute> _
Public Enumeration SPViewFlags
'Usage
Dim instance As SPViewFlags

Member nameDescription
NoneThere is no view type.
HtmlThe view is HTML. This field is also used for form Web Parts that are not the default.
ClientModifiedThe view has been modified by a client application.
TabularViewThe view is rendered in a tabular layout appropriate for adding item-level actions to the view.
HiddenThe view is hidden.
LockWebWhile rendering the view in a client application, you should lock the SPWeb object.
ReadOnlyThe view is read-only and cannot be modified.
FailIfEmptyRendering the view in a Web Part fails if the view is empty or does not exist.
FreeFormThe view is free-form.
FileDialogThe view is a file dialog box.
FileDialogTemplatesThis member is reserved for internal use and is not intended to be used directly from your code.
AggregationViewThe view is an XML form aggregation.
GridThe view is a grid.
RecursiveThe view is recursive. For example, the Web Part might show document library items and document library folders.
RecurrenceRowsetThe view supports recurrence rowsets, such as might be displayed by a Web Part that shows a calendar view.
ContributorThe moderation type for this view is Contributor. For more information, see the ModerationType property.
ModeratorThe moderation type for this view is Moderator. For more information, see the ModerationType property.
ThreadedThe view represents discussion threads.
ChartThe view is a chart.
PersonalThe view is personal, not shared.
CalendarThe view is a calendar.
DefaultThe view is the default view for the Web Part. This flag is also used for form Web Parts that are the default form.
FilesOnlyThe view shows only items that are files. This field is often used in combination with Recursive.
OrderedThe view is in alphabetical order.
MobileThe view is suitable for a mobile device.
DefaultMobileThe view is suitable for a mobile device and is the default view.
IncludeVersionsThe Web Part is able to show or allow the selection of multiple versions of items. For example, items in a document library can have multiple versions based on some type of workflow.
GanttThe view is a Gantt chart.
IncludeRootFolderThe view includes the root folder of the list.
DefaultViewForContentTypeThe view is the default view for a specific content type.
HideUnapprovedThe view does not show unapproved versions of items in a list.
RequiresClientIntegrationThe view Web Part requires third-party client integration in order to operate properly.
UnknownThe type of view is unknown.

This enumeration allows a bitwise combination of its members.

An object that implements the IListWebPart interface returns the SPViewFlags enumeration in the ViewFlags property to tell you what type of data it formats. An instance of the DataFormWebPart class returns the SPViewFlags enumeration in the ViewFlags property to tell you if it is the default form (SPViewFlags.Default) or non-default form (SPViewFlags.Html).

Show:
© 2014 Microsoft