Skip to content

Commit 5c86492

Browse files
Merge pull request #13808 from Brchatel/docs-editor/actions-pane-overview-1744161405
Update Actions pane overview with deprecation information
2 parents 6fedc46 + 97fb6df commit 5c86492

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

docs/vsto/actions-pane-overview.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,16 @@ ms.subservice: office-development
1818
---
1919
# Actions pane overview
2020

21-
[!INCLUDE[actions-retirement-md](../vsto/includes/actions-retirement-md.md)]
22-
23-
An actions pane is a customizable **Document Actions** task pane that is attached to a specific Microsoft Office Word document or Microsoft Office Excel workbook. The actions pane is hosted inside the Office task pane along with other built-in task panes, such as the **XML Source** task pane in Excel or the **Styles and Formatting** task pane in Word. You can use Windows Forms controls or WPF controls to design the actions pane user interface.
21+
> [!IMPORTANT]
22+
> The Actions feature has been retired from Microsoft Word starting in Office 2024.
23+
> This feature is only available in Microsoft Word with the following releases of Office:
24+
> - Microsoft 365
25+
> - Office LTSC Professional Plus 2021
26+
> - Office LTSC Standard 2021
27+
> - Office Professional Plus 2016, 2019
28+
> - Office Standard 2016, 2019
29+
>
30+
An actions pane is a customizable **Document Actions** task pane that is attached to a specific Microsoft Office Word document or Microsoft Office Excel workbook. The actions pane is hosted inside the Office task pane along with other built-in task panes, such as the **XML Source** task pane in Excel or the **Styles and Formatting** task pane in Word. You can use Windows Forms controls or WPF controls to design the actions pane user interface.
2431

2532
[!INCLUDE[appliesto_alldoc](../vsto/includes/appliesto-alldoc-md.md)]
2633

@@ -38,7 +45,7 @@ ms.subservice: office-development
3845
### [VB](#tab/vb)
3946
:::code language="vb" source="../vsto/codesnippet/VisualBasic/Trin_VstcoreActionsPaneWordVB/ThisDocument.vb" id="Snippet7":::
4047
---
41-
48+
4249
The actions pane becomes visible at run time as soon as you explicitly add a control to it. After the actions pane is displayed, you can dynamically add or remove controls in response to the user's actions. Typically, you add the code to display the actions pane in the `Startup` event handler of `ThisDocument` or `ThisWorkbook` so that the actions pane is visible when the user first opens the document. However, you might want to display the actions pane only in response to a user's action in the document. For example, you might add the code to the `Click` event of a control on the document.
4350

4451
### Add multiple controls to the actions pane
@@ -77,7 +84,7 @@ ms.subservice: office-development
7784
### [VB](#tab/vb)
7885
:::code language="vb" source="../vsto/codesnippet/VisualBasic/Trin_VstcoreActionsPaneExcelVB/ThisWorkbook.vb" id="Snippet11":::
7986
---
80-
87+
8188
- For Word or Excel, you can alternatively set the <xref:Microsoft.Office.Core.CommandBar.Visible%2A> property of the command bar that represents the task pane to **false**. The following code example is intended to be run from the `ThisDocument` or `ThisWorkbook` class in your project.
8289

8390
### [C#](#tab/csharp)
@@ -159,6 +166,7 @@ ms.subservice: office-development
159166
### [C#](#tab/csharp)
160167
:::code language="csharp" source="../vsto/codesnippet/CSharp/Trin_VstcoreActionsPaneWordCS/ThisDocument.cs" id="Snippet100":::
161168

169+
162170
### [VB](#tab/vb)
163171
:::code language="vb" source="../vsto/codesnippet/VisualBasic/Trin_VstcoreActionsPaneWordVB/ThisDocument.vb" id="Snippet100":::
164172
---
@@ -173,6 +181,7 @@ ms.subservice: office-development
173181
### [C#](#tab/csharp)
174182
:::code language="csharp" source="../vsto/codesnippet/CSharp/Trin_VstcoreActionsPaneWordCS/ThisDocument.cs" id="Snippet101":::
175183

184+
176185
### [VB](#tab/vb)
177186
:::code language="vb" source="../vsto/codesnippet/VisualBasic/Trin_VstcoreActionsPaneWordVB/ThisDocument.vb" id="Snippet101":::
178187
---

0 commit comments

Comments
 (0)