예제 #1
0
 private void MainButton_Click(object sender, RoutedEventArgs e)
 {
     MainPage.Tooltip.Hide();
     EnsurePopupsVisible();
     ComparisonItemList.IsShown = true;
     ListPopup.IsOpen           = true;
     ComparisonItemList.Focus();
 }
예제 #2
0
        private void MainButton_Clicked(object sender, RoutedEventArgs e)
        {
            MainPage.Tooltip.Hide();
#if SILVERLIGHT
            EnsurePopupsVisible();
#else
            ListPopup.PlacementTarget = LayoutRoot;
            ListPopup.Placement       = PlacementMode.RelativePoint;
#endif
            ComparisonItemList.IsShown = true;
            ListPopup.IsOpen           = true;
            ComparisonItemList.Focus();
        }