C# Class BaconographyW8.View.FileOpenPickerView

A basic page that provides characteristics common to most applications.
Inheritance: BaconographyW8.Common.LayoutAwarePage
Datei anzeigen Open project: Synergex/Baconography Class Usage Examples

Public Methods

Method Description
Activate ( FileOpenPickerActivatedEventArgs args ) : void

Invoked when another application wants to open files from this application.

FileOpenPickerView ( ) : BaconographyPortable.Messages

Protected Methods

Method Description
LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.

SaveState ( Object>.Dictionary pageState ) : void

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.

Private Methods

Method Description
_fileOpenPickerUI_Closing ( Windows sender, Windows args ) : void
pickerSelectionChanged ( PickerFileMessage obj ) : void

Method Details

Activate() public method

Invoked when another application wants to open files from this application.
public Activate ( FileOpenPickerActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.FileOpenPickerActivatedEventArgs Activation data used to coordinate the process with Windows.
return void

FileOpenPickerView() public method

public FileOpenPickerView ( ) : BaconographyPortable.Messages
return BaconographyPortable.Messages

LoadState() protected method

Populates the page with content passed during navigation. Any saved state is also provided when recreating a page from a prior session.
protected LoadState ( Object navigationParameter, Object>.Dictionary pageState ) : void
navigationParameter Object The parameter value passed to /// when this page was initially requested. ///
pageState Object>.Dictionary A dictionary of state preserved by this page during an earlier /// session. This will be null the first time a page is visited.
return void

SaveState() protected method

Preserves state associated with this page in case the application is suspended or the page is discarded from the navigation cache. Values must conform to the serialization requirements of SuspensionManager.SessionState.
protected SaveState ( Object>.Dictionary pageState ) : void
pageState Object>.Dictionary An empty dictionary to be populated with serializable state.
return void