FormControl Members

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

The following tables list the members exposed by the FormControl type.

Public Constructors

  Name Description
Public method FormControl  

Top

Public Properties

(see also Protected Properties )

  Name Description
Public property AccessibilityObject  (inherited from Control)
Public property AccessibleDefaultActionDescription  (inherited from Control)
Public property AccessibleDescription  (inherited from Control)
Public property AccessibleName  (inherited from Control)
Public property AccessibleRole  (inherited from Control)
Public property AllowDrop  (inherited from Control)
Public property Anchor  (inherited from Control)
Public property AutoScrollOffset  (inherited from Control)
Public property AutoSize  (inherited from Control)
Public property BackColor  (inherited from AxHost)
Public property BackgroundImage  (inherited from AxHost)
Public property BackgroundImageLayout  (inherited from AxHost)
Public property BindingContext  (inherited from Control)
Public property Bottom  (inherited from Control)
Public property Bounds  (inherited from Control)
Public property CanFocus  (inherited from Control)
Public property CanSelect  (inherited from Control)
Public property Capture  (inherited from Control)
Public property CausesValidation  (inherited from Control)
Public property Static CheckForIllegalCrossThreadCalls  (inherited from Control)
Public property ClientRectangle  (inherited from Control)
Public property ClientSize  (inherited from Control)
Public property CompanyName  (inherited from Control)
Public property Container  (inherited from Component)
Public property ContainingControl  (inherited from AxHost)
Public property ContainsFocus  (inherited from Control)
Public property ContextMenu  (inherited from AxHost)
Public property ContextMenuStrip  (inherited from Control)
Public property Controls  (inherited from Control)
Public property Created  (inherited from Control)
Public property Cursor  (inherited from AxHost)
Public property DataBindings  (inherited from Control)
Public property DataConnectionBaseUrl Gets or sets the base URL to be used with data connection files (.UDCX).
Public property Static DefaultBackColor  (inherited from Control)
Public property Static DefaultFont  (inherited from Control)
Public property Static DefaultForeColor  (inherited from Control)
Public property DisplayRectangle  (inherited from Control)
Public property Disposing  (inherited from Control)
Public property Dock  (inherited from Control)
Public property EditMode  (inherited from AxHost)
Public property Enabled  (inherited from AxHost)
Public property EventManager Gets an EventManager object which is used to bind event handlers in the InternalStartup event.
Public property Focused  (inherited from Control)
Public property Font  (inherited from AxHost)
Public property ForeColor  (inherited from AxHost)
Public property Handle  (inherited from Control)
Public property HasAboutBox  (inherited from AxHost)
Public property HasChildren  (inherited from Control)
Public property Height  (inherited from Control)
Public property Host Gets or sets the object used to access the object model of the host application.
Public property HostName Gets or sets the name of the host application.
Public property ImeMode  (inherited from AxHost)
Public property InvokeRequired  (inherited from Control)
Public property IsAccessible  (inherited from Control)
Public property IsDisposed  (inherited from Control)
Public property IsHandleCreated  (inherited from Control)
Public property IsMirrored  (inherited from Control)
Public property LayoutEngine  (inherited from Control)
Public property Left  (inherited from Control)
Public property Location  (inherited from Control)
Public property Margin  (inherited from Control)
Public property MaximumSize  (inherited from Control)
Public property MinimumSize  (inherited from Control)
Public property Static ModifierKeys  (inherited from Control)
Public property Static MouseButtons  (inherited from Control)
Public property Static MousePosition  (inherited from Control)
Public property Name  (inherited from Control)
Public property OcxState  (inherited from AxHost)
Public property Padding  (inherited from Control)
Public property Parent  (inherited from Control)
Public property PreferredSize  (inherited from Control)
Public property ProductName  (inherited from Control)
Public property ProductVersion  (inherited from Control)
Public property RecreatingHandle  (inherited from Control)
Public property Region  (inherited from Control)
Public property Right  (inherited from Control)
Public property RightToLeft  (inherited from AxHost)
Public property Site  (inherited from AxHost)
Public property Size  (inherited from Control)
Public property TabIndex  (inherited from Control)
Public property TabStop  (inherited from Control)
Public property Tag  (inherited from Control)
Public property Text  (inherited from AxHost)
Public property Top  (inherited from Control)
Public property TopLevelControl  (inherited from Control)
Public property UseWaitCursor  (inherited from Control)
Public property Visible  (inherited from Control)
Public property Width  (inherited from Control)
Public property WindowTarget  (inherited from Control)
Public property XmlForm Gets an XmlForm object associated with the hosted FormControl object.

Top

Protected Properties

  Name Description
Protected property CanEnableIme  (inherited from Control)
Protected property CanRaiseEvents  (inherited from Control)
Protected property CreateParams  (inherited from AxHost)
Protected property DefaultCursor  (inherited from Control)
Protected property DefaultImeMode  (inherited from Control)
Protected property DefaultMargin  (inherited from Control)
Protected property DefaultMaximumSize  (inherited from Control)
Protected property DefaultMinimumSize  (inherited from Control)
Protected property DefaultPadding  (inherited from Control)
Protected property DefaultSize  (inherited from AxHost)
Protected property DesignMode  (inherited from Component)
Protected property DoubleBuffered  (inherited from Control)
Protected property Events  (inherited from Component)
Protected property FontHeight  (inherited from Control)
Protected property ImeModeBase  (inherited from Control)
Protected property Static PropagatingImeMode  (inherited from Control)
Protected property RenderRightToLeft  Obsolete. (inherited from Control)
Protected property ResizeRedraw  (inherited from Control)
Protected property ScaleChildren  (inherited from Control)
Protected property ShowFocusCues  (inherited from Control)
Protected property ShowKeyboardCues  (inherited from Control)

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method BeginInit  (inherited from AxHost)
Public method BeginInvoke  Overloaded. (inherited from Control)
Public method BringToFront  (inherited from Control)
Public method Close Closes the active form in the FormControl object.
Public method Contains  (inherited from Control)
Public method CreateControl  (inherited from Control)
Public method CreateGraphics  (inherited from Control)
Public method CreateObjRef  (inherited from MarshalByRefObject)
Public method Dispose  Overloaded. (inherited from AxHost)
Public method DoDragDrop  (inherited from Control)
Public method DoVerb  (inherited from AxHost)
Public method DrawToBitmap  (inherited from AxHost)
Public method EndInit  (inherited from AxHost)
Public method EndInvoke  (inherited from Control)
Public method Equals  Overloaded. (inherited from Object)
Public method FindForm  (inherited from Control)
Public method Focus  (inherited from Control)
Public method Static FromChildHandle  (inherited from Control)
Public method Static FromHandle  (inherited from Control)
Public method GetChildAtPoint  Overloaded. (inherited from Control)
Public method GetContainerControl  (inherited from Control)
Public method GetHashCode  (inherited from Object)
Public method GetLifetimeService  (inherited from MarshalByRefObject)
Public method GetNextControl  (inherited from Control)
Public method GetOcx  (inherited from AxHost)
Public method GetPreferredSize  (inherited from Control)
Public method GetType  (inherited from Object)
Public method HasPropertyPages  (inherited from AxHost)
Public method Hide  (inherited from Control)
Public method InitializeLifetimeService  (inherited from MarshalByRefObject)
Public method Invalidate  Overloaded. (inherited from Control)
Public method Invoke  Overloaded. (inherited from Control)
Public method InvokeEditMode  (inherited from AxHost)
Public method Static IsKeyLocked  (inherited from Control)
Public method Static IsMnemonic  (inherited from Control)
Public method MakeDirty  (inherited from AxHost)
Public method NewFromFormTemplate Overloaded. Creates a new form based on a form template (.xsn) file.
Public method OnClose Used to bind an event handler that will run when a hosted form is closed.
Public method OnDataChange Used to bind an event handler that will run when data in a hosted form is changed.
Public method OnRename Used to bind an event handler that will run when the name of the link source or container is changed.
Public method OnSave Used to bind an event handler that will run when a hosted form is saved.
Public method OnViewChange Used to bind an event handler that will run when the view in a hosted form is changed.
Public method Open Overloaded. Opens a form and loads it into the FormControl object.
Public method PerformLayout  Overloaded. (inherited from Control)
Public method PointToClient  (inherited from Control)
Public method PointToScreen  (inherited from Control)
Public method PreProcessControlMessage  (inherited from Control)
Public method PreProcessMessage  (inherited from AxHost)
Public method RectangleToClient  (inherited from Control)
Public method RectangleToScreen  (inherited from Control)
Public method Static ReferenceEquals  (inherited from Object)
Public method Refresh  (inherited from Control)
Public method ResetBackColor  (inherited from Control)
Public method ResetBindings  (inherited from Control)
Public method ResetCursor  (inherited from Control)
Public method ResetFont  (inherited from Control)
Public method ResetForeColor  (inherited from Control)
Public method ResetImeMode  (inherited from Control)
Public method ResetRightToLeft  (inherited from Control)
Public method ResetText  (inherited from Control)
Public method ResumeLayout  Overloaded. (inherited from Control)
Public method Scale  Overloaded. (inherited from Control)
Public method Select  Overloaded. (inherited from Control)
Public method SelectNextControl  (inherited from Control)
Public method SendToBack  (inherited from Control)
Public method SetBounds  Overloaded. (inherited from Control)
Public method SetInitEventHandler Sets the event handler in the host application for handling the event that occurs when the form is loaded in the FormControl object.
Public method SetNotifyHostEventHandler Sets the event handler in the host application for handling the event that occurs when the NotifyHost method of the XDocument object is used to notify the host application.
Public method SetSubmitToHostEventHandler Sets the event handler in the host application for handling the Submit method of the SubmitToHostAdapter object.
Public method Show  (inherited from Control)
Public method ShowAboutBox  (inherited from AxHost)
Public method ShowPropertyPages  Overloaded. (inherited from AxHost)
Public method SuspendLayout  (inherited from Control)
Public method SyncLastChange Synchronizes the underlying data of the form with changes in the view.
Public method ToString  (inherited from Component)
Public method Update  (inherited from Control)

Top

Protected Methods

  Name Description
Protected method AccessibilityNotifyClients  Overloaded. (inherited from Control)
Protected method AttachInterfaces Overridden.  
Protected method CreateAccessibilityInstance  (inherited from Control)
Protected method CreateControlsInstance  (inherited from Control)
Protected method CreateHandle  (inherited from AxHost)
Protected method CreateInstanceCore  (inherited from AxHost)
Protected method CreateSink  (inherited from AxHost)
Protected method DefWndProc  (inherited from Control)
Protected method DestroyHandle  (inherited from AxHost)
Protected method DetachSink  (inherited from AxHost)
Protected method Dispose  Overloaded. (inherited from AxHost)
Protected method Finalize  (inherited from Component)
Protected method GetAccessibilityObjectById  (inherited from Control)
Protected method GetAutoSizeMode  (inherited from Control)
Protected method Static GetColorFromOleColor  (inherited from AxHost)
Protected method Static GetFontFromIFont  (inherited from AxHost)
Protected method Static GetFontFromIFontDisp  (inherited from AxHost)
Protected method Static GetIFontDispFromFont  (inherited from AxHost)
Protected method Static GetIFontFromFont  (inherited from AxHost)
Protected method Static GetIPictureDispFromPicture  (inherited from AxHost)
Protected method Static GetIPictureFromCursor  (inherited from AxHost)
Protected method Static GetIPictureFromPicture  (inherited from AxHost)
Protected method Static GetOADateFromTime  (inherited from AxHost)
Protected method Static GetOleColorFromColor  (inherited from AxHost)
Protected method Static GetPictureFromIPicture  (inherited from AxHost)
Protected method Static GetPictureFromIPictureDisp  (inherited from AxHost)
Protected method GetScaledBounds  (inherited from AxHost)
Protected method GetService  (inherited from Component)
Protected method GetStyle  (inherited from Control)
Protected method Static GetTimeFromOADate  (inherited from AxHost)
Protected method GetTopLevel  (inherited from Control)
Protected method InitLayout  (inherited from Control)
Protected method InvokeGotFocus  (inherited from Control)
Protected method InvokeLostFocus  (inherited from Control)
Protected method InvokeOnClick  (inherited from Control)
Protected method InvokePaint  (inherited from Control)
Protected method InvokePaintBackground  (inherited from Control)
Protected method IsInputChar  (inherited from AxHost)
Protected method IsInputKey  (inherited from Control)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Protected method NotifyInvalidate  (inherited from Control)
Protected method OnAutoSizeChanged  (inherited from Control)
Protected method OnBackColorChanged  (inherited from AxHost)
Protected method OnBackgroundImageChanged  (inherited from Control)
Protected method OnBackgroundImageLayoutChanged  (inherited from Control)
Protected method OnBindingContextChanged  (inherited from Control)
Protected method OnCausesValidationChanged  (inherited from Control)
Protected method OnChangeUICues  (inherited from Control)
Protected method OnClick  (inherited from Control)
Protected method OnClientSizeChanged  (inherited from Control)
Protected method OnContextMenuChanged  (inherited from Control)
Protected method OnContextMenuStripChanged  (inherited from Control)
Protected method OnControlAdded  (inherited from Control)
Protected method OnControlRemoved  (inherited from Control)
Protected method OnCreateControl  (inherited from Control)
Protected method OnCursorChanged  (inherited from Control)
Protected method OnDockChanged  (inherited from Control)
Protected method OnDoubleClick  (inherited from Control)
Protected method OnDragDrop  (inherited from Control)
Protected method OnDragEnter  (inherited from Control)
Protected method OnDragLeave  (inherited from Control)
Protected method OnDragOver  (inherited from Control)
Protected method OnEnabledChanged  (inherited from Control)
Protected method OnEnter  (inherited from Control)
Protected method OnFontChanged  (inherited from AxHost)
Protected method OnForeColorChanged  (inherited from AxHost)
Protected method OnGiveFeedback  (inherited from Control)
Protected method OnGotFocus  (inherited from Control)
Protected method OnHandleCreated  (inherited from AxHost)
Protected method OnHandleDestroyed  (inherited from Control)
Protected method OnHelpRequested  (inherited from Control)
Protected method OnImeModeChanged  (inherited from Control)
Protected method OnInPlaceActive  (inherited from AxHost)
Protected method OnInvalidated  (inherited from Control)
Protected method OnKeyDown  (inherited from Control)
Protected method OnKeyPress  (inherited from Control)
Protected method OnKeyUp  (inherited from Control)
Protected method OnLayout  (inherited from Control)
Protected method OnLeave  (inherited from Control)
Protected method OnLocationChanged  (inherited from Control)
Protected method OnLostFocus  (inherited from AxHost)
Protected method OnMarginChanged  (inherited from Control)
Protected method OnMouseCaptureChanged  (inherited from Control)
Protected method OnMouseClick  (inherited from Control)
Protected method OnMouseDoubleClick  (inherited from Control)
Protected method OnMouseDown  (inherited from Control)
Protected method OnMouseEnter  (inherited from Control)
Protected method OnMouseHover  (inherited from Control)
Protected method OnMouseLeave  (inherited from Control)
Protected method OnMouseMove  (inherited from Control)
Protected method OnMouseUp  (inherited from Control)
Protected method OnMouseWheel  (inherited from Control)
Protected method OnMove  (inherited from Control)
Protected method OnNotifyMessage  (inherited from Control)
Protected method OnPaddingChanged  (inherited from Control)
Protected method OnPaint  (inherited from Control)
Protected method OnPaintBackground  (inherited from Control)
Protected method OnParentBackColorChanged  (inherited from Control)
Protected method OnParentBackgroundImageChanged  (inherited from Control)
Protected method OnParentBindingContextChanged  (inherited from Control)
Protected method OnParentChanged  (inherited from Control)
Protected method OnParentCursorChanged  (inherited from Control)
Protected method OnParentEnabledChanged  (inherited from Control)
Protected method OnParentFontChanged  (inherited from Control)
Protected method OnParentForeColorChanged  (inherited from Control)
Protected method OnParentRightToLeftChanged  (inherited from Control)
Protected method OnParentVisibleChanged  (inherited from Control)
Protected method OnPreviewKeyDown  (inherited from Control)
Protected method OnPrint  (inherited from Control)
Protected method OnQueryContinueDrag  (inherited from Control)
Protected method OnRegionChanged  (inherited from Control)
Protected method OnResize  (inherited from Control)
Protected method OnRightToLeftChanged  (inherited from Control)
Protected method OnSizeChanged  (inherited from Control)
Protected method OnStyleChanged  (inherited from Control)
Protected method OnSystemColorsChanged  (inherited from Control)
Protected method OnTabIndexChanged  (inherited from Control)
Protected method OnTabStopChanged  (inherited from Control)
Protected method OnTextChanged  (inherited from Control)
Protected method OnValidated  (inherited from Control)
Protected method OnValidating  (inherited from Control)
Protected method OnVisibleChanged  (inherited from Control)
Protected method ProcessCmdKey  (inherited from Control)
Protected method ProcessDialogChar  (inherited from Control)
Protected method ProcessDialogKey  (inherited from AxHost)
Protected method ProcessKeyEventArgs  (inherited from Control)
Protected method ProcessKeyMessage  (inherited from Control)
Protected method ProcessKeyPreview  (inherited from Control)
Protected method ProcessMnemonic  (inherited from AxHost)
Protected method PropsValid  (inherited from AxHost)
Protected method RaiseDragEvent  (inherited from Control)
Protected method RaiseKeyEvent  (inherited from Control)
Protected method RaiseMouseEvent  (inherited from Control)
Protected method RaiseOnMouseDown  Overloaded. (inherited from AxHost)
Protected method RaiseOnMouseMove  Overloaded. (inherited from AxHost)
Protected method RaiseOnMouseUp  Overloaded. (inherited from AxHost)
Protected method RaisePaintEvent  (inherited from Control)
Protected method RecreateHandle  (inherited from Control)
Protected method Static ReflectMessage  (inherited from Control)
Protected method ResetMouseEventArgs  (inherited from Control)
Protected method RtlTranslateAlignment  Overloaded. (inherited from Control)
Protected method RtlTranslateContent  (inherited from Control)
Protected method RtlTranslateHorizontal  (inherited from Control)
Protected method RtlTranslateLeftRight  (inherited from Control)
Protected method ScaleControl  (inherited from Control)
Protected method ScaleCore  (inherited from Control)
Protected method Select  Overloaded. (inherited from Control)
Protected method SetAboutBoxDelegate  (inherited from AxHost)
Protected method SetAutoSizeMode  (inherited from Control)
Protected method SetBoundsCore  (inherited from AxHost)
Protected method SetClientSizeCore  (inherited from Control)
Protected method SetStyle  (inherited from Control)
Protected method SetTopLevel  (inherited from Control)
Protected method SetVisibleCore  (inherited from AxHost)
Protected method SizeFromClientSize  (inherited from Control)
Protected method UpdateBounds  Overloaded. (inherited from Control)
Protected method UpdateStyles  (inherited from Control)
Protected method UpdateZOrder  (inherited from Control)
Protected method WndProc  (inherited from AxHost)

Top

Public Events

  Name Description
Public event AutoSizeChanged  (inherited from Control)
Public event BackColorChanged  (inherited from AxHost)
Public event BackgroundImageChanged  (inherited from AxHost)
Public event BackgroundImageLayoutChanged  (inherited from AxHost)
Public event BindingContextChanged  (inherited from AxHost)
Public event CausesValidationChanged  (inherited from Control)
Public event ChangeUICues  (inherited from AxHost)
Public event Click  (inherited from AxHost)
Public event ClientSizeChanged  (inherited from Control)
Public event ContextMenuChanged  (inherited from AxHost)
Public event ContextMenuStripChanged  (inherited from Control)
Public event ControlAdded  (inherited from Control)
Public event ControlRemoved  (inherited from Control)
Public event CursorChanged  (inherited from AxHost)
Public event Disposed  (inherited from Component)
Public event DockChanged  (inherited from Control)
Public event DoubleClick  (inherited from AxHost)
Public event DragDrop  (inherited from AxHost)
Public event DragEnter  (inherited from AxHost)
Public event DragLeave  (inherited from AxHost)
Public event DragOver  (inherited from AxHost)
Public event EnabledChanged  (inherited from AxHost)
Public event Enter  (inherited from Control)
Public event FontChanged  (inherited from AxHost)
Public event ForeColorChanged  (inherited from AxHost)
Public event GiveFeedback  (inherited from AxHost)
Public event GotFocus  (inherited from Control)
Public event HandleCreated  (inherited from Control)
Public event HandleDestroyed  (inherited from Control)
Public event HelpRequested  (inherited from AxHost)
Public event ImeModeChanged  (inherited from AxHost)
Public event InternalStartup Occurs when the hosted form is started.
Public event Invalidated  (inherited from Control)
Public event KeyDown  (inherited from AxHost)
Public event KeyPress  (inherited from AxHost)
Public event KeyUp  (inherited from AxHost)
Public event Layout  (inherited from AxHost)
Public event Leave  (inherited from Control)
Public event LocationChanged  (inherited from Control)
Public event LostFocus  (inherited from Control)
Public event MarginChanged  (inherited from Control)
Public event MouseCaptureChanged  (inherited from Control)
Public event MouseClick  (inherited from AxHost)
Public event MouseDoubleClick  (inherited from AxHost)
Public event MouseDown  (inherited from AxHost)
Public event MouseEnter  (inherited from AxHost)
Public event MouseHover  (inherited from AxHost)
Public event MouseLeave  (inherited from AxHost)
Public event MouseMove  (inherited from AxHost)
Public event MouseUp  (inherited from AxHost)
Public event MouseWheel  (inherited from AxHost)
Public event Move  (inherited from Control)
Public event PaddingChanged  (inherited from Control)
Public event Paint  (inherited from AxHost)
Public event ParentChanged  (inherited from Control)
Public event PreviewKeyDown  (inherited from Control)
Public event QueryAccessibilityHelp  (inherited from AxHost)
Public event QueryContinueDrag  (inherited from AxHost)
Public event RegionChanged  (inherited from Control)
Public event Resize  (inherited from Control)
Public event RightToLeftChanged  (inherited from AxHost)
Public event SizeChanged  (inherited from Control)
Public event StyleChanged  (inherited from AxHost)
Public event SystemColorsChanged  (inherited from Control)
Public event TabIndexChanged  (inherited from Control)
Public event TabStopChanged  (inherited from Control)
Public event TextChanged  (inherited from AxHost)
Public event Validated  (inherited from Control)
Public event Validating  (inherited from Control)
Public event VisibleChanged  (inherited from Control)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetAttributes  (inherited from AxHost)
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetClassName  (inherited from AxHost)
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetComponentName  (inherited from AxHost)
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetConverter  (inherited from AxHost)
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent  (inherited from AxHost)
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty  (inherited from AxHost)
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetEditor  (inherited from AxHost)
Explicit interface implementation System.ComponentModel.ICustomTypeDescriptor.GetEvents  Overloaded. (inherited from AxHost)
Explicit interface implementation System.ComponentModel.ICustomTypeDescriptor.GetProperties  Overloaded. (inherited from AxHost)
Explicit interface implementation Method System.ComponentModel.ICustomTypeDescriptor.GetPropertyOwner  (inherited from AxHost)
Explicit interface implementation Method System.Windows.Forms.IDropTarget.OnDragDrop  (inherited from Control)
Explicit interface implementation Method System.Windows.Forms.IDropTarget.OnDragEnter  (inherited from Control)
Explicit interface implementation Method System.Windows.Forms.IDropTarget.OnDragLeave  (inherited from Control)
Explicit interface implementation Method System.Windows.Forms.IDropTarget.OnDragOver  (inherited from Control)

Top

See Also

Reference

FormControl Class
Microsoft.Office.InfoPath Namespace