Exemplo n.º 1
0
        public static void RemoveItemRemovedHandler(DependencyObject d, RemovedRoutedEventHandler handler)
        {
            UIElement uie = d as UIElement;

            if (uie != null)
            {
                uie.RemoveHandler(ItemRemovedEvent, handler);
            }
        }
Exemplo n.º 2
0
        public static void RemoveItemRemovedHandler(TabControl d, RemovedRoutedEventHandler handler)
        {
            UIElement uie = d as UIElement;

            if (uie != null)
            {
                uie.RemoveHandler(ItemRemovedEvent, handler);
            }
        }