XmlFormView.DefaultView Property
Gets or sets the default view for the form displayed 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 DefaultView As String
Get
Set
'Usage
Dim instance As XmlFormView
Dim value As String
value = instance.DefaultView
instance.DefaultView = value
[PersonalizableAttribute]
[WebBrowsableAttribute(true)]
public string DefaultView { get; set; }
Property Value
Type: System.String
The name of the default view.