Share via


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)

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute> _
Public Property Options As String
    Get
    Set
'Usage
Dim instance As XmlFormView
Dim value As String

value = instance.Options

instance.Options = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute]
public string Options { get; set; }

Property Value

Type: System.String

Remarks

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.

See Also

Reference

XmlFormView Class

XmlFormView Members

Microsoft.Office.InfoPath.Server.Controls Namespace