public FileSavePickerPage()
        {
            this.InitializeComponent();

            // This is a static public property that will allow downstream pages to get
            // a handle to the FileSavePickerPage instance in order to call methods that are in this class.
            Current = this;

            // This frame is hidden, meaning it is never shown.  It is simply used to load
            // each scenario page and then pluck out the input and output sections and
            // place them into the UserControls on the main page.
            HiddenFrame = new Windows.UI.Xaml.Controls.Frame();
            HiddenFrame.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
            LayoutRoot.Children.Add(HiddenFrame);

            // Populate the sample title from the constant in the GlobalVariables.cs file.
            SetFeatureName(FEATURE_NAME);

            Scenarios.SelectionChanged += Scenarios_SelectionChanged;
            SizeChanged += FileSavePickerPage_SizeChanged;
        }
Exemple #2
0
        public FileSavePickerPage()
        {
            this.InitializeComponent();

            // This is a static public property that will allow downstream pages to get
            // a handle to the FileSavePickerPage instance in order to call methods that are in this class.
            Current = this;

            // This frame is hidden, meaning it is never shown.  It is simply used to load
            // each scenario page and then pluck out the input and output sections and
            // place them into the UserControls on the main page.
            HiddenFrame            = new Windows.UI.Xaml.Controls.Frame();
            HiddenFrame.Visibility = Windows.UI.Xaml.Visibility.Collapsed;
            LayoutRoot.Children.Add(HiddenFrame);

            // Populate the sample title from the constant in the GlobalVariables.cs file.
            SetFeatureName(FEATURE_NAME);

            Scenarios.SelectionChanged += Scenarios_SelectionChanged;
            SizeChanged += FileSavePickerPage_SizeChanged;
        }
Exemple #3
0
 protected override void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args)
 {
     var FileSavePickerPage = new SDKTemplate.FileSavePickerPage();
     FileSavePickerPage.Activate(args);
 }
Exemple #4
0
        protected override void OnFileSavePickerActivated(FileSavePickerActivatedEventArgs args)
        {
            var FileSavePickerPage = new SDKTemplate.FileSavePickerPage();

            FileSavePickerPage.Activate(args);
        }