Click or drag to resize

BaseApplication Class

The base class for WPF applications.
Inheritance Hierarchy

Namespace:  StockSharp.Xaml
Assembly:  StockSharp.Xaml (in StockSharp.Xaml.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public abstract class BaseApplication : Application

The BaseApplication type exposes the following members.

Constructors
  NameDescription
Protected methodBaseApplication
Initialize BaseApplication.
Top
Properties
  NameDescription
Public propertyAppIcon
The application icon.
Protected propertyCheckTargetPlatform
Whether to check the platform at start.
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Protected propertyExtendedFeatures
The extended functionality that will be displayed in the window TargetPlatformWindow.
Public propertyStatic memberHelpCommand
Help command.
Public propertyMainWindow
Gets or sets the main window of the application.
(Inherited from Application.)
Public propertyProperties
Gets a collection of application-scope properties.
(Inherited from Application.)
Public propertyStatic memberProxySettings
Proxy-server settings.
Public propertyResources
Gets or sets a collection of application-scope resources, such as styles and brushes.
(Inherited from Application.)
Public propertyShowExceptions
To show errors on the screen or just to pass them to LogManager. By default, errors are displayed.
Public propertyShutdownMode
Gets or sets the condition that causes the Shutdown method to be called.
(Inherited from Application.)
Public propertyStartupUri
Gets or sets a UI that is automatically shown when an application starts.
(Inherited from Application.)
Public propertyWindows
Gets the instantiated windows in an application.
(Inherited from Application.)
Top
Methods
  NameDescription
Public methodStatic memberEditProxySettings
To edit the proxy settings.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindResource
Searches for a user interface (UI) resource, such as a Style or Brush, with the specified key, and throws an exception if the requested resource is not found (see XAML Resources).
(Inherited from Application.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnActivated
Raises the Activated event.
(Inherited from Application.)
Protected methodOnDeactivated
Raises the Deactivated event.
(Inherited from Application.)
Protected methodOnExit
Raises the Exit event.
(Inherited from Application.)
Protected methodOnFragmentNavigation
Raises the FragmentNavigation event.
(Inherited from Application.)
Protected methodOnLoadCompleted
Raises the LoadCompleted event.
(Inherited from Application.)
Protected methodOnNavigated
Raises the Navigated event.
(Inherited from Application.)
Protected methodOnNavigating
Raises the Navigating event.
(Inherited from Application.)
Protected methodOnNavigationFailed
Raises the NavigationFailed event.
(Inherited from Application.)
Protected methodOnNavigationProgress
Raises the NavigationProgress event.
(Inherited from Application.)
Protected methodOnNavigationStopped
Raises the NavigationStopped event.
(Inherited from Application.)
Protected methodOnSessionEnding
Raises the SessionEnding event.
(Inherited from Application.)
Protected methodOnStartup
Processing the application start.
(Overrides ApplicationOnStartup(StartupEventArgs).)
Public methodRun
Starts a Windows Presentation Foundation (WPF) application.
(Inherited from Application.)
Public methodRun(Window)
Starts a Windows Presentation Foundation (WPF) application and opens the specified window.
(Inherited from Application.)
Public methodShutdown
Shuts down an application.
(Inherited from Application.)
Public methodShutdown(Int32)
Shuts down an application that returns the specified exit code to the operating system.
(Inherited from Application.)
Public methodStatic memberStartIsRunning
Check if an instance of the application already started.
Public methodStatic memberStopIsRunning
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryFindResource
Searches for the specified resource.
(Inherited from Application.)
Top
Events
  NameDescription
Public eventActivated
Occurs when an application becomes the foreground application.
(Inherited from Application.)
Public eventDeactivated
Occurs when an application stops being the foreground application.
(Inherited from Application.)
Public eventDispatcherUnhandledException
Occurs when an exception is thrown by an application but not handled.
(Inherited from Application.)
Public eventExit
Occurs just before an application shuts down, and cannot be canceled.
(Inherited from Application.)
Public eventFragmentNavigation
Occurs when a navigator in the application begins navigation to a content fragment, Navigation occurs immediately if the desired fragment is in the current content, or after the source XAML content has been loaded if the desired fragment is in different content.
(Inherited from Application.)
Public eventLoadCompleted
Occurs when content that was navigated to by a navigator in the application has been loaded, parsed, and has begun rendering.
(Inherited from Application.)
Public eventNavigated
Occurs when the content that is being navigated to by a navigator in the application has been found, although it may not have completed loading.
(Inherited from Application.)
Public eventNavigating
Occurs when a new navigation is requested by a navigator in the application.
(Inherited from Application.)
Public eventNavigationFailed
Occurs when an error occurs while a navigator in the application is navigating to the requested content.
(Inherited from Application.)
Public eventNavigationProgress
Occurs periodically during a download that is being managed by a navigator in the application to provide navigation progress information.
(Inherited from Application.)
Public eventNavigationStopped
Occurs when the StopLoading method of a navigator in the application is called, or when a new navigation is requested by a navigator while a current navigation is in progress.
(Inherited from Application.)
Public eventSessionEnding
Occurs when the user ends the Windows session by logging off or shutting down the operating system.
(Inherited from Application.)
Public eventStartup (Inherited from Application.)
Top
Fields
  NameDescription
Public fieldStatic memberAppDataPath
The path to the settings directory.
Public fieldStatic memberPlatformConfigurationFile
The path to the configuration file of platform definition.
Public fieldStatic memberProxyConfigurationFile
The path to the configuration file of proxy settings.
Public fieldStatic memberSecurityExtendedInfo
The path to the directory with securities extended info.
Public fieldStatic memberSecurityMappingDir
The path to the directory with securities id mapping.
Public fieldStatic memberSecurityNativeIdDir
The path to the directory with native security identifiers.
Public fieldStatic memberStorageDir
The path to the directory with market data.
Top
See Also