< Day Day Up > |
The XDocument ObjectThe XDocument object represents the underlying XML document of an InfoPath form. XDocument Object MethodsThe XDocument object has nine methods:
XDocument Object PropertiesThe XDocument object has 16 properties:
The IsDirty PropertyIt is often useful to know if data has been entered into a form by a user . The XDocument.IsDirty property checks whether any change has been made to the DOM that underlies the data source. The sample form template IsDirtyTest.xsn uses the XDocument.IsDirty property to test whether any change has been made to a text box in the form template.
The ViewInfos PropertyThe ViewInfos property of the XDocument object allows you to programmatically discover a form's default view. The SimpleHR2.xsn example template in the download includes a button that cycles through the members of the ViewInfos collection to find which view is the default and then displays the name of that view in a message box. |
< Day Day Up > |