2014-05-08 98 views

回答

0

您可以在單擊按鈕時更改可見性。

E.g.

private void MyButtonOnClick(object sender, RoutedEventArgs e) 
{ 
    myLongListSelector.Visibility = 
     this.myLongListSelector.Visibility == Visibility.Visible ? Visibility.Collapsed 
                   : Visibility.Visible; 
}