chore: separated System.Windows.Interactivity code

This commit is contained in:
NaBian committed 2022-03-13 21:40:09 +08:00
1 parent 0da2875641
commit ef4226ddf9
26 files changed
+54 -20

No files matched your search

@@ -0,0 +1,18 @@
using System;
using System.Windows;
namespace HandyControl.Interactivity;
public abstract class TriggerAction<T> : TriggerAction where T : DependencyObject
{
protected TriggerAction() : base(typeof(T))
{
}
#pragma warning disable 108,114
protected T AssociatedObject => (T) base.AssociatedObject;
#pragma warning restore 108,114
protected sealed override Type AssociatedObjectTypeConstraint =>
base.AssociatedObjectTypeConstraint;
}