This CommandTriggerAction can be used to bind any event on any FrameworkElement to an
See license.txt in this solution or http://www.galasoft.ch/license_MIT.txt
ICommand. This trigger can only be attached to a FrameworkElement or a class deriving from FrameworkElement. This class is inspired from Laurent Bugnion and his EventToCommand.
graph BT Type-->Base0["TriggerAction<FrameworkElement>"] Type["CommandTriggerAction"] class Type type-node Derived0["CloseFlyoutAction"]-->Type click Derived0 "/api/MahApps.Metro.Actions/CloseFlyoutAction" Derived1["CloseTabItemAction"]-->Type click Derived1 "/api/MahApps.Metro.Actions/CloseTabItemAction"
public class CommandTriggerAction : TriggerAction<FrameworkElement>