Microsoft Office Tutorials and References
In Depth Information
Managing the Actions Pane
The Actions Pane has several functions:
It allows you to add a contextual user interface to the document.
It provides you with the most flexible way of designing a custom user
interface for the document.
It takes care of user interface layout challenges, easily plugs into
the Microsoft Office user interface, and acts like a dockable toolbar.
It provides the ability to add Winform controls to the surface of a Word 2007
document. Winform controls are more flexible and interact with the Actions
Pane through Visual C# .NET code, instead of HTML controls.
The ActionsPane object supports Windows form controls, and you can change the
orientation of the Actions Pane programmatically.
The Actions Pane allows developers to host a Windows form control within the
document's actions pane, which is more flexible for interacting with them through
Visual C# .NET code when compared to HTML controls. The Actions Pane is built
on top of the Task Pane object, and is composed of three objects: Actions Pane object,
the Actions Pane controls, and Windows controls.
The following image represents the building blocks of the Actions Pane in
You can change the orientation of the Actions Pane. If the Actions Pane is docked
vertically or horizontally, then this will have an impact on the stack order of the
Actions Pane controls on the Actions Pane. VSTO 2008 provides access to the
document Actions Pane via the new ActionsPane object.