Пример #1
0
        private void Image_MouseLeftButtonDown_1(object sender, MouseButtonEventArgs e)
        {
            ProductDocViewViewModel productDocViewViewModel = this.DataContext as ProductDocViewViewModel;

            productDocViewViewModel.HideExpander();
        }
Пример #2
0
        // 当用户导航到此页面时执行。
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            ProductDocViewViewModel productDocViewViewModel = this.DataContext as ProductDocViewViewModel;

            productDocViewViewModel.LoadData();
        }