-1
private void SuggestBox_QuerySubmitted(AutoSuggestBox sender, AutoSuggestBoxQuerySubmittedEventArgs args)
{
if(args.QueryText!=null)
{
...
}
}
Pivot_SelectionChanged
private void privotContent_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
SuggestBox.QuerySubmitted += SuggestBox_QuerySubmitted;
}
privotContentでSuggestBox.QuerySumittedを呼び出さないでください。しかし、私はそれをしたい。Pivot_SelectionChangedでAutoSuggestBoxのイベントを捕捉する方法は?