本文為機器翻譯文章。如需檢視英文版,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

ActionsPane.Hide 方法 ()

 

發行︰ 2016年6月

從工作窗格使用者介面移除 ActionsPane 和控制項,但維持工作窗格可見。

命名空間:   Microsoft.Office.Tools
組件:  Microsoft.Office.Tools.Common (於 Microsoft.Office.Tools.Common.dll)

void Hide()

Calling the M:Microsoft.Office.Tools.ActionsPane.Hide method only hides the task pane user interface, including the T:Microsoft.Office.Tools.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 P:Microsoft.Office.Interop.Word.TaskPane.Visible property of the T:Microsoft.Office.Interop.Word.TaskPane object that represents the Document Actions task pane.

  • For Excel, use the P:Microsoft.Office.Interop.Excel._Application.DisplayDocumentActionTaskPane property of the P:Microsoft.Office.Tools.Excel.Workbook.Application object.

For more information and code examples, see Actions Pane Overview.

回到頁首
顯示: