コード例 #1
0
        private void shrinkplayarea()
        {
            ShrinkAnimation.Begin();
            Shrink.Glyph = "\uE738";
            ToolTipService.SetToolTip(Shrink, "陛下,真不能再小了");
            AlbumCover.Visibility            = Visibility.Collapsed;
            SongPLayingName.Visibility       = Visibility.Collapsed;
            SongPLayingSingerName.Visibility = Visibility.Collapsed;
            RelativePanel.SetAlignHorizontalCenterWithPanel(CommandButtons, false);

            RelativePanel.SetAlignRightWithPanel(PlayProcess, false);
            RelativePanel.SetAbove(CommandButtons, null);
            RelativePanel.SetAlignLeftWith(PlayProcess, null);
            RelativePanel.SetAlignLeftWithPanel(CommandButtons, true);
            RelativePanel.SetAlignBottomWithPanel(CommandButtons, true);
            RelativePanel.SetRightOf(PlayProcess, CommandButtons);
            RelativePanel.SetLeftOf(PlayProcess, Expand);
        }
コード例 #2
0
 private void SearchBox_OnPointerExited(object sender, RoutedEventArgs routedEventArgs)
 {
     ShrinkAnimation.Begin();
 }