
## SmartTagDef class

Contains elements that contain information for each smart tag defined for a shape or page.



The SmartTagDef type exposes the following members:

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


### Properties
| Property | Description |
| :- | :- |
| [name](/diagram/python-net/aspose.diagram/smarttagdef/name) | The name of the element. |
| [name_u](/diagram/python-net/aspose.diagram/smarttagdef/name_u) | The universal name of the element. |
| [id](/diagram/python-net/aspose.diagram/smarttagdef/id) | The unique ID of the element within its parent element. |
| [x](/diagram/python-net/aspose.diagram/smarttagdef/x) | The x-coordinate position in the shape's local coordinates around which the smart tag button is placed. |
| [y](/diagram/python-net/aspose.diagram/smarttagdef/y) | The y-coordinate position in the shape's local coordinates around which the smart tag button is placed. |
| [tag_name](/diagram/python-net/aspose.diagram/smarttagdef/tag_name) | It contains the name of the smart tag that is used as a key to associate the smart tag with its actions. |
| [x_justify](/diagram/python-net/aspose.diagram/smarttagdef/x_justify) | The x-offset of the smart tag button relative to the point defined by the X and Y elements. |
| [y_justify](/diagram/python-net/aspose.diagram/smarttagdef/y_justify) | Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements. |
| [display_mode](/diagram/python-net/aspose.diagram/smarttagdef/display_mode) | DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape is selected, or all the time. |
| [button_face](/diagram/python-net/aspose.diagram/smarttagdef/button_face) | It contains the ID of the button face image that appears on the smart tag button. |
| [disabled](/diagram/python-net/aspose.diagram/smarttagdef/disabled) | Disabled element determines whether the smart tag appears in the drawing window. |
| [description](/diagram/python-net/aspose.diagram/smarttagdef/description) | Description element contains a string that describes the smart tag, which appears as a tool tip when the user pauses the mouse over the tag. |


### See Also

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