
## Act class

Defines custom command names that appear on an object's shortcut menu and specifies the actions that the commands take.



The Act type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [Act()](/diagram/python-net/aspose.diagram/act/__init__/#) | Constructor. |


### Properties
| Property | Description |
| :- | :- |
| [name](/diagram/python-net/aspose.diagram/act/name) | The name of the element. |
| [name_u](/diagram/python-net/aspose.diagram/act/name_u) | The universal name of the element. |
| [id](/diagram/python-net/aspose.diagram/act/id) | The unique ID of the element within its parent element. |
| [ix](/diagram/python-net/aspose.diagram/act/ix) | The zero-based index of the element within its parent element. |
| [menu](/diagram/python-net/aspose.diagram/act/menu) | Specifies the name of the command that appears on the shortcut menu for a shape or page. |
| [action](/diagram/python-net/aspose.diagram/act/action) | Contains the formula to execute when a user clicks the command name defined in the corresponding Menu element. |
| [checked](/diagram/python-net/aspose.diagram/act/checked) | Determines whether a check mark is displayed beside the command name on a shape's shortcut menu. |
| [disabled](/diagram/python-net/aspose.diagram/act/disabled) | Disabled element determines whether the command name is displayed on the shortcut menu. |
| [read_only](/diagram/python-net/aspose.diagram/act/read_only) | Determines whether the action on a smart tag or shortcut menu is read-only. |
| [invisible](/diagram/python-net/aspose.diagram/act/invisible) | Invisible element indicates whether the action is visible on the smart tag or shortcut menu. |
| [begin_group](/diagram/python-net/aspose.diagram/act/begin_group) | Indicates whether a separator is inserted into the menu above this action. |
| [flyout_child](/diagram/python-net/aspose.diagram/act/flyout_child) | Determines whether the action row is a child flyout menu of the last row above it that is not a flyout child. |
| [tag_name](/diagram/python-net/aspose.diagram/act/tag_name) | It contains the name of the smart tag that the action is associated with. |
| [button_face](/diagram/python-net/aspose.diagram/act/button_face) | It identifies the icon that appears next to an item on a shortcut menu. |
| [sort_key](/diagram/python-net/aspose.diagram/act/sort_key) | It specifies a number that determines the order of actions that appear on a shortcut or smart tag menu. |


### Methods
| Method | Description |
| :- | :- |
| [clone()](/diagram/python-net/aspose.diagram/act/clone/#) | Creates deep copy of this instance. |


### See Also

* module [aspose.diagram](../)
