Export (0) Print
Expand All
Expand Minimize

PageType Enumeration

Page Type is a signed 1-byte integer that is used to represent the possible page types.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

public enum PageType

Member nameDescription
InvalidEnumeration whose values specify a page that does not correspond to a list view or a list form. The value = -1.
DefaultViewEnumeration whose values specify a page that is the default view for a list. The value = 0.
NormalViewEnumeration whose values specify a page that is a list view and is not the default view for a list. The value = 1.
DialogViewEnumeration whose values specify a page suitable for display within a dialog box on a client computer. The value = 2.
ViewEnumeration whose values specify a page that is a list view. The value = 3.
DisplayFormEnumeration whose values specify a list form for displaying a list item. The value = 4.
DisplayFormDialogEnumeration whose values specify a list form for displaying a list item, suitable for display within a dialog box on a client computer. The value = 5.
EditFormEnumeration whose values specify a list form for editing a list item. The value = 6.
EditFormDialogEnumeration whose values specify a list form for editing a list item, suitable for display within a dialog box on a client computer. The value = 7.
NewFormEnumeration whose values specify a list form for creating a new list item. The value = 8.
NewFormDialogEnumeration whose values specify a list form for creating a new list item, suitable for display within a dialog box on a client computer. The value = 9.
SolutionFormEnumeration whose values specify a list form for displaying or editing a list item and represented by a form template (.xsn) file. The value = 10.
PAGE_MAXITEMSEnumeration whose values specify the total number of valid page types. The value = 11.

The reserved Page Type values are specified as follows.

Value

Description

-1

Does not correspond to a view or a form of a list.

0

Default view of the corresponding list. This view is displayed whenever this list is viewed without an explicit view being specified.

1

A view of the corresponding list, but not the default view.

2

This value is only used internally within implementation-specific code and is never stored in a database.

3

This value is only used internally within implementation-specific code and is never stored in a database.

4

A display form of a list, suitable for displaying a single list item in read-only mode.

5

This value is only used internally within implementation-specific code and is never stored in a database.

6

An edit form for a list, suitable for presenting UI to update the properties of a list item.

7

Used to represent edit forms of a list suitable for displaying in HTML file dialogs to a client application.

8

A new form for a list, suitable for presenting UI to create a new list item.

9

This value is from a previous implementation and is no longer valid.

10

This value is only used internally within implementation-specific code and is never stored in a database.

Show:
© 2014 Microsoft