SPContext.FormContext property
SharePoint 2013
Gets the form context object for the form-specific Microsoft SharePoint Foundation context.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.SPFormContextAn SPFormContext object that represents the form context.