Visual Basic (Declaration)
Public Property FormMode As SPControlMode
Dim instance As SPFormContext
Dim value As SPControlMode
value = instance.FormMode
instance.FormMode = value
public SPControlMode FormMode { get; set; }
value that specifies the control mode. Possible values include