ActionsPane.Visible Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the ActionsPane is visible.
public:
property bool Visible { bool get(); void set(bool value); };
[System.ComponentModel.Localizable(true)]
public bool Visible { get; set; }
[<System.ComponentModel.Localizable(true)>]
member this.Visible : bool with get, set
Public Property Visible As Boolean
Property Value
true
if the actions pane is visible on the task pane; otherwise, false
.
- Attributes
Remarks
Setting the Visible property to false
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 Microsoft.Office.Interop.Word.TaskPane.Visible* property of the Microsoft.Office.Interop.Word.TaskPane object that represents the Document Actions task pane.
For Excel, use the Microsoft.Office.Interop.Excel._Application.DisplayDocumentActionTaskPane* property of the Microsoft.Office.Tools.Excel.Workbook.Application object.
For more information and code examples, see Actions Pane Overview.