Gets or sets the ViewInfo object that represents the initial view of the form.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The ViewInfo object that is returned or set by the Initial property is specified by the value of the InitialView attribute in the processing instructions of the underlying XML document of the form. The value can be set to a valid view and is saved when the form is saved.
This member can be accessed without restrictions.
This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.
To see an example that uses the Initial property, see the SwitchView(ViewInfo) method topic.