RemoveElementAction Class

An action that will remove the targeted element from the tree when invoked.

Namespace: Microsoft.Expression.Interactivity.Core
Assembly: Microsoft.Expression.Interactions (in microsoft.expression.interactions.dll)

Syntax

'Declaration
Public Class RemoveElementAction
    Inherits TargetedTriggerAction(Of FrameworkElement)
'Usage
Dim instance As RemoveElementAction
public class RemoveElementAction : TargetedTriggerAction<FrameworkElement>
public ref class RemoveElementAction : public TargetedTriggerAction<FrameworkElement^>
public class RemoveElementAction extends TargetedTriggerAction<FrameworkElement>
public class RemoveElementAction extends TargetedTriggerAction<FrameworkElement>

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.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
     System.Windows.DependencyObject
       System.Windows.Freezable
         System.Windows.Media.Animation.Animatable
           System.Windows.Interactivity.TriggerAction
             System.Windows.Interactivity.TargetedTriggerAction
               System.Windows.Interactivity.TargetedTriggerAction
                Microsoft.Expression.Interactivity.Core.RemoveElementAction

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RemoveElementAction Members
Microsoft.Expression.Interactivity.Core Namespace