Table of Contents

Class RemoveElementAction

Namespace
Microsoft.Xaml.Behaviors.Core
Assembly
Microsoft.Xaml.Behaviors.dll

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

public class RemoveElementAction : TargetedTriggerAction<FrameworkElement>, IAttachedObject
Inheritance
TargetedTriggerAction<FrameworkElement>
RemoveElementAction
Implements
Inherited Members

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.

Constructors

RemoveElementAction()

public RemoveElementAction()

Methods

Invoke(object)

protected override void Invoke(object parameter)

Parameters

parameter object