locked
Search Charm default location RRS feed

  • Question

  • In a windows Store app, is it possible to invoke the search charm and have the default search location be my app instead of everywhere?
    Saturday, January 11, 2014 4:11 PM

Answers

  • yes it will be your application when you a button that opens the searchcharm in your application. when the user open the search pane thourgh the charms it will be always everywhere and you cant change this

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Saturday, January 11, 2014 4:24 PM

All replies

  • yes it will be your application when you a button that opens the searchcharm in your application. when the user open the search pane thourgh the charms it will be always everywhere and you cant change this

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Saturday, January 11, 2014 4:24 PM
  • I use the following code...

     

      private void cmdSearch(object sender, RoutedEventArgs e)
            {
                Windows.ApplicationModel.Search.SearchPane searchPane = Windows.ApplicationModel.Search.SearchPane.GetForCurrentView();
                searchPane.Show();
            }

    .Show();

            }

    Sunday, January 12, 2014 6:50 PM
  • Thanks for the info.
    Sunday, January 12, 2014 7:39 PM