Exemple #1
0
        public static void RemoveSearchTextChangedHandler(DependencyObject d, SearchTextChangedEventHandler handler)
        {
            UIElement uie = d as UIElement;

            if (uie != null)
            {
                uie.RemoveHandler(SearchTextChangedEvent, handler);
            }
        }
 public static void RemoveSearchTextChangedHandler(UIElement element, SearchTextChangedEventHandler handler)
 {
     element.RemoveHandler(SearchTextChangedEvent, handler);
 }
 public static void AddSearchTextChangedHandler(UIElement element, SearchTextChangedEventHandler handler)
 {
     element.AddHandler(SearchTextChangedEvent, handler);
 }