Class RemoveElementAction
An action that will remove the targeted element from the tree when invoked.
public class RemoveElementAction : TargetedTriggerAction<FrameworkElement>, IAnimatable, IAttachedObject
- Inheritance
-
RemoveElementAction
- Implements
- Inherited Members
- Extension Methods
Remarks
This action may fail. The action understands how to remove elements from common parents but not from custom collections or direct manipulation of the visual tree.
Methods
Invoke(object)
Invokes the action.
protected override void Invoke(object parameter)
Parameters
parameter
objectThe parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.