SPMobileComponent.IsForm Property

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

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


Public Overridable ReadOnly Property IsForm As Boolean
Dim instance As SPMobileComponent
Dim value As Boolean

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

Property Value

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


The default implementation returns the IsForm property of the MobileContext property. Use IsForm instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.MobileContext.IsForm 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.IsForm.

See Also


SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace