StackStyle Enumeration
Specifies the direction that controls will be stacked on an actions pane.
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
| Member name | Description | |
|---|---|---|
| FromBottom | Stack from the bottom of the actions pane. | |
| FromLeft | Stack from the left of the actions pane. | |
| FromRight | Stack from the right of the actions pane. | |
| FromTop | Stack from the top of the actions pane. | |
| None | No stacking order defined; order is controlled by the developer. |
This enumeration is used by the StackOrder property. For more information about actions panes, see Actions Pane Overview.
The following code example demonstrates the effects of the StackOrder property. A Button control on the actions pane alternates the value of StackOrder (for example, if the orientation of the actions pane is vertical when the button is clicked, then a value of the StackOrder property changes from FromTop to FromBottom). If you move the actions pane and raise the OrientationChanged event, the event handler also updates the StackOrder property.