13 lines
292 B
C#
13 lines
292 B
C#
using System.Windows;
|
|
|
|
namespace HandyControl.Interactivity
|
|
{
|
|
public abstract class Behavior<T> : Behavior where T : DependencyObject
|
|
{
|
|
protected Behavior() : base(typeof(T))
|
|
{
|
|
}
|
|
|
|
protected new T AssociatedObject => (T)base.AssociatedObject;
|
|
}
|
|
} |