コード例 #1
0
        // This event is called and then unhooked.
        private void ChainInto_Page_Loaded(object sender, RoutedEventArgs e)
        {
            SmartPage page = (SmartPage)sender;

            page.Loaded -= ChainInto_Page_Loaded;

            page.InternalPageOpened();

            if (ViewModel.IsActivated)
            {
                page.InternalActivate();
            }
        }
コード例 #2
0
        private void FrameData_FrameActivatedEvent()
        {
            Update_ActivationRectangle_Color();

            if (ViewModel.SelectedTab != null)
            {
                SmartPage topmost_page = ViewModel.SelectedTab.TopMost();

                if (topmost_page != null)
                {
                    topmost_page.InternalActivate();
                }
            }
        }