XmlFormView.Options property

Gets or sets an option, namely DisableSave, for the XmlFormView control.

Namespace:  Microsoft.Office.InfoPath.Server.Controls
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

public string Options { get; set; }

Property value

Type: System.String
DisableSave, if the Save button has been disabled; otherwise Empty.

The only supported value for the Options property is DisableSave, which hides the Save button in the browser and disables the save feature of the form. The value is case-insensitive.