FormControl Class

A hostable object that is used to integrate the Microsoft Office InfoPath 2007 form editing environment into a .NET-based custom application.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath.FormControl (in microsoft.office.infopath.formcontrol.dll)

Syntax

'Declaration
'Usage

Remarks

The FormControl editor object provides various properties and methods to open and close form templates, as well as to communicate with the host environment for .NET-based custom applications. The Microsoft.Office.InfoPath.Server assembly provides the hostable XmlFormView control for use in custom Web pages (.aspx).

For more information about the FormControl object, see Hosting the InfoPath 2007 Form Editing Environment in a Custom Windows Form Application and the "InfoPath Editor Hosted as a Control" section of What's New for InfoPath Developers. For more information about using the XmlFormView control in custom Web pages, see Hosting the InfoPath 2007 Form Editing Environment in a Custom Web Form.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Windows.Forms.Control
         System.Windows.Forms.AxHost
          Microsoft.Office.InfoPath.FormControl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

FormControl Members
Microsoft.Office.InfoPath Namespace