ActionsPane.Visible Property (2007 System)
Gets or sets a value that indicates whether the ActionsPane is visible.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Property Visible As Boolean
'Usage
Dim instance As ActionsPane
Dim value As Boolean
value = instance.Visible
instance.Visible = value
public bool Visible { get; set; }
public:
property bool Visible {
bool get ();
void set (bool value);
}
public function get Visible () : boolean
public function set Visible (value : boolean)
Property Value
Type: System.Boolean
true if the actions pane is visible on the task pane; otherwise, false.
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 TaskPaneVisible property of the TaskPane object that represents the Document Actions task pane.
For Excel, use the _ApplicationDisplayDocumentActionTaskPane 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