support for .NET framework 3.5
Still have bugs
This commit is contained in:
1 parent
5878039e21
commit
7d6b491f25
704 files changed
+48273
-33
No files matched your search
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user