Esempio n. 1
0
            public static EventTriggerCondition Register(FrameworkElement element, RoutedEvent routedEvent)
            {
                EventTriggerCondition condition = new EventTriggerCondition(element, routedEvent);

                condition.Register();
                return(condition);
            }
Esempio n. 2
0
        public override IEventTriggerCondition CreateEventTriggerCondition(FrameworkElement element)
        {
            if (RoutedEvent == null)
            {
                throw new Granular.Exception("EventTrigger.RoutedEvent cannot be null");
            }

            return(EventTriggerCondition.Register(element, RoutedEvent));
        }
Esempio n. 3
0
 public static EventTriggerCondition Register(FrameworkElement element, RoutedEvent routedEvent)
 {
     EventTriggerCondition condition = new EventTriggerCondition(element, routedEvent);
     condition.Register();
     return condition;
 }