ActionsPane.Hide Method
Removes the ActionsPane and the controls from the task pane user interface, but leaves the task pane visible.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Sub Hide
void Hide()
Remarks
Calling the Hide method only hides the task pane user interface, including the ActionsPane control and any controls that have been added to it. This method does not hide the task pane itself.
If you want to hide the task pane or determine whether the task pane is visible, use the following properties:
For Word, use the TaskPane.Visible property of the TaskPane object that represents the Document Actions task pane.
For Excel, use the _Application.DisplayDocumentActionTaskPane property of the Workbook.Application object.
For more information and code examples, see Actions Pane Overview.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace