SPMobileComponent.IsView Property

Gets a value that indicates whether the page is a list view, rather than a form or home page.

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


Public Overridable ReadOnly Property IsView As Boolean

Dim instance As SPMobileComponent
Dim value As Boolean

value = instance.IsView
public virtual bool IsView { get; }

Property Value

Type: System.Boolean
true if the page is a list view; otherwise, false.


The default implementation returns the IsView property of the MobileContext property. Use IsView instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.IsView to simplify your code. Do not override IsForm or you create a chance that it will get a value inconsistent with the value of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.IsView.

See Also


SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace