Share via


XmlFormView.EditingStatus Property

Gets or sets the editing status of a form hosted in the XmlFormView control.

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

Syntax

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

value = instance.EditingStatus

instance.EditingStatus = value
[PersonalizableAttribute]
[WebBrowsableAttribute(true)]
public XmlFormView.EditingState EditingStatus { get; set; }

Property Value

Type: Microsoft.Office.InfoPath.Server.Controls.XmlFormView.EditingState

Remarks

The EditingStatus property is based on the XmlFormView.EditingState enumeration, which includes the following values.

Value

Description

Init

The form is not visible when the Web page is opened. The EditingStatus must be changed to Editing before the form can be used.

Editing

The form is visible to the user and is ready to use.

Closed

The form is closed. The message "The form has been closed" is shown to the user inside the control.

See Also

Reference

XmlFormView Class

XmlFormView Members

Microsoft.Office.InfoPath.Server.Controls Namespace