diff --git a/Behaviors/EventToCommandBehavior/EventToCommandBehavior/Behaviors/EventToCommandBehavior.cs b/Behaviors/EventToCommandBehavior/EventToCommandBehavior/Behaviors/EventToCommandBehavior.cs index 83c1758ecf..06239781fd 100755 --- a/Behaviors/EventToCommandBehavior/EventToCommandBehavior/Behaviors/EventToCommandBehavior.cs +++ b/Behaviors/EventToCommandBehavior/EventToCommandBehavior/Behaviors/EventToCommandBehavior.cs @@ -5,7 +5,7 @@ namespace EventToCommandBehavior { - public class EventToCommandBehavior : BehaviorBase + public class EventToCommandBehavior : BehaviorBase { Delegate eventHandler; @@ -34,13 +34,13 @@ public IValueConverter Converter { set { SetValue (InputConverterProperty, value); } } - protected override void OnAttachedTo (View bindable) + protected override void OnAttachedTo (VisualElement bindable) { base.OnAttachedTo (bindable); RegisterEvent (EventName); } - protected override void OnDetachingFrom (View bindable) + protected override void OnDetachingFrom (VisualElement bindable) { DeregisterEvent (EventName); base.OnDetachingFrom (bindable);