Share via


SPMobileSwitchPageViewNavigation.ViewMode Property

Gets or sets the view mode of the current page.

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

Syntax

'Declaration
Public Property ViewMode As SPMobilePageViewMode
    Get
    Set
'Usage
Dim instance As SPMobileSwitchPageViewNavigation
Dim value As SPMobilePageViewMode

value = instance.ViewMode

instance.ViewMode = value
public SPMobilePageViewMode ViewMode { get; set; }

Property Value

Type: Microsoft.SharePoint.MobileControls.SPMobilePageViewMode
The SPMobilePageViewMode() value that represents the view mode of the current page.

See Also

Reference

SPMobileSwitchPageViewNavigation Class

SPMobileSwitchPageViewNavigation Members

Microsoft.SharePoint.MobileControls Namespace