C# Class StreetFoo.Client.UI.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
显示文件 Open project: mbrit/ProgrammingMetroStyle

Public Methods

Method Description
App ( ) : System

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

settings_CommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs args ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.

OnSearchActivated ( Windows args ) : void

Invoked when the application is activated to display search results.

OnShareTargetActivated ( Windows args ) : void

Invoked when the application is activated as the target of a sharing operation.

Private Methods

Method Description
App_Resuming ( object sender, object e ) : void
OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

ShowHelp ( ) : void
manager_DataRequested ( DataTransferManager sender, DataRequestedEventArgs args ) : void
search_ResultSuggestionChosen ( SearchPane sender, Windows.ApplicationModel.Search.SearchPaneResultSuggestionChosenEventArgs args ) : void
search_SuggestionsRequested ( SearchPane sender, SearchPaneSuggestionsRequestedEventArgs args ) : void

Method Details

App() public method

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : System
return System

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void

OnSearchActivated() protected method

Invoked when the application is activated to display search results.
protected OnSearchActivated ( Windows args ) : void
args Windows Details about the activation request.
return void

OnShareTargetActivated() protected method

Invoked when the application is activated as the target of a sharing operation.
protected OnShareTargetActivated ( Windows args ) : void
args Windows Details about the activation request.
return void

settings_CommandsRequested() public method

public settings_CommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void
sender Windows.UI.ApplicationSettings.SettingsPane
args Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs
return void