A basic page that provides characteristics common to most applications.
Inheritance: BaconographyW8.Common.LayoutAwarePage
Example #1
0
        /// <summary>
        /// Invoked when the application is activated to display a file open picker.
        /// </summary>
        /// <param name="args">Details about the activation request.</param>
        protected override async void OnFileOpenPickerActivated(Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs args)
        {

            if (_baconProvider == null)
            {
                _baconProvider = new BaconProvider(new Tuple<Type, Object>[] { new Tuple<Type, Object>(typeof(IDynamicViewLocator), new DynamicViewLocator()) });

                await _baconProvider.Initialize(null);

                ViewModelLocator.Initialize(_baconProvider);
            }

            var fileOpenPickerPage = new FileOpenPickerView();
            fileOpenPickerPage.Activate(args);
        }