Click or drag to resize
App Class
Provides application-specific behavior to supplement the default Application class.
Inheritance Hierarchy

Namespace: VikingChess
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class App : Application, IXamlMetadataProvider

The App type exposes the following members.

Constructors
  NameDescription
Public methodApp
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().
Top
Properties
  NameDescription
Public propertyDebugSettings
Gets an object that declares how the app behaves when run in a debug environment.
(Inherited from Application.)
Public propertyRequestedTheme
Gets or sets a value that determines the light-dark preference for the overall theme of an app.
(Inherited from Application.)
Public propertyResources
Gets a collection of application-scoped resources, such as styles, templates, and brushes.
(Inherited from Application.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodExit
Shuts down the app.
(Inherited from Application.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetXamlType(String)
GetXamlType(String)
Public methodGetXamlType(Type)
GetXamlType(Type)
Public methodGetXmlnsDefinitions
GetXmlnsDefinitions()
Public methodInitializeComponent
InitializeComponent()
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnActivated
Invoked when the application is activated by some means other than normal launching.
(Inherited from Application.)
Protected methodOnCachedFileUpdaterActivated
Invoked when the application is activated due to an activation contract with ActivationKind as CachedFileUpdater.
(Inherited from Application.)
Protected methodOnFileActivated
Invoked when the application is activated through file-open.
(Inherited from Application.)
Protected methodOnFileOpenPickerActivated
Invoked when the application is activated through file-open dialog association.
(Inherited from Application.)
Protected methodOnFileSavePickerActivated
Invoked when the application is activated through file-save dialog association.
(Inherited from Application.)
Protected methodOnLaunched
Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
(Overrides ApplicationOnLaunched(LaunchActivatedEventArgs).)
Private methodOnNavigationFailed
Invoked when Navigation to a certain page fails
Protected methodOnSearchActivated
Invoked when the application is activated through a search association.
(Inherited from Application.)
Protected methodOnShareTargetActivated
Invoked when the application is activated through sharing association.
(Inherited from Application.)
Private methodOnSuspending
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.
Protected methodOnWindowCreated
Invoked when the application creates a window.
(Inherited from Application.)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventResuming
Occurs when the application transitions from Suspended state to Running state.
(Inherited from Application.)
Public eventSuspending
Occurs when the application transitions to Suspended state from some other state.
(Inherited from Application.)
Public eventUnhandledException
Occurs when an exception is raised by application code, forwarded from the native level. Applications can mark the occurrence as handled in event data.
(Inherited from Application.)
Top
Fields
  NameDescription
Private field_contentLoaded
Private field_provider
Top
See Also