Exemplo n.º 1
0
        private static void OnItemTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AutoCompleteTextBox actb = d as AutoCompleteTextBox;

            if (actb == null)
            {
                return;
            }
            actb.OnItemTemplateSelectorChanged(e.NewValue as DataTemplateSelector);
        }
Exemplo n.º 2
0
        private static void OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AutoCompleteTextBox actb = d as AutoCompleteTextBox;

            if (actb == null)
            {
                return;
            }
            actb.OnItemsSourceChanged(e.NewValue as IEnumerable);
        }
Exemplo n.º 3
0
        private static void OnItemContainerStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AutoCompleteTextBox actb = d as AutoCompleteTextBox;

            if (actb == null)
            {
                return;
            }
            actb.OnItemContainerStyleChanged(e.NewValue as Style);
        }