Share via


SPFormContext properties

The SPFormContext type exposes the following members.

Properties

  Name Description
Public property CSRDefaultValuesCollection Gets a Dictionary to write field default values into for Location Based Defaults.
Public property CSRFieldValueCollection Gets an ArrayList that returns pairs of SPField objects and their submitted value.
Public property EnableInputFieldLabels Gets or sets a Boolean value that specifies whether the Edit or New form uses edit or add mode field labels.
Public property FieldControlCollection Gets an ArrayList that stores the field controls in the form.
Public property FormMode Gets or sets the control mode of the form.
Public property OnSaveHandler Gets or sets an event handler for callback when the Save button in the form is clicked.

Top

See also

Reference

SPFormContext class

Microsoft.SharePoint namespace