Ejemplo n.º 1
0
        private static void OnSearchContent(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            SearchBar bar = sender as SearchBar;

            bar.OnSearchContentChanged(e.OldValue.ToString(), e.NewValue.ToString());
        }
Ejemplo n.º 2
0
        private static void edintingStatusChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
        {
            SearchBar searchBar = sender as SearchBar;

            searchBar.OnEditintStatusChanged((bool)args.OldValue, (bool)args.NewValue);
        }