Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Server Technologies
SDK Documentation
SPFormContext Class
 FormMode Property
SPFormContext.FormMode Property (Microsoft.SharePoint)
Gets or sets the control mode of the form.

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

Visual Basic (Declaration)
Public Property FormMode As SPControlMode
Visual Basic (Usage)
Dim instance As SPFormContext
Dim value As SPControlMode

value = instance.FormMode

instance.FormMode = value
C#
public SPControlMode FormMode { get; set; }

Property Value

An Microsoft.SharePoint.WebControls.SPControlMode value that specifies the control mode. Possible values include Display, Edit, Invalid, and New.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker