private static void RemoveBehavior(FrameworkElement element, BehaviorType behaviorType) { var wpfInteractor = element.GetWpfInteractorOrDefault(); wpfInteractor.RemoveBehavior(behaviorType); }
private static void AddBehavior(FrameworkElement element, IEyeXBehavior behavior) { var wpfInteractor = element.GetWpfInteractorOrDefault(); wpfInteractor.AddBehavior(element, behavior); }