Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
You can use the RemoveElementAction action to easily remove an element from a logical tree.
To add a RemoveElementAction
In the Assets panel, click Behaviors, and then drag RemoveElementAction onto the object that you want to apply the action to. The Common Properties category appears in the Properties panel.
HinweisThe object to which the behavior is added provides the context within which the behavior operates.
In the Common Properties category, in the TargetObject drop-down list, select the element that you want to remove. You can use the **Artboard Element Picker **
to select the element, or you can use Browse to pick the element from a list of elements that appear on the artboard.
HinweisIf not set, the TargetObject property will default to the object that the action is attached to.
.png)
When you are running your application and you trigger the RemoveElementAction, the element that you targeted will be removed.
Subsequent invocations of the action will have no effect, because the element will have already been removed from the tree.
Hinweis |
|---|
If the element that you targeted contains children, all of the children will also be removed. |