This topic has not yet been rated - Rate this topic

FormControl class

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

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath.FormControl (in Microsoft.Office.InfoPath.FormControl.dll)
[AxHost.ClsidAttribute("{80757399-5146-11d5-a672-00b0d022e945}")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class FormControl : AxHost

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 Form Editing Environment in a Custom Windows Form Application. For more information about using the XmlFormView control in custom Web pages, see Hosting the InfoPath Form Editing Environment in a Custom Web Form.

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.