Click or drag to resize

BaseApplication Class

Базовый класс для WPF приложений.
Inheritance Hierarchy

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

The BaseApplication type exposes the following members.

Constructors
  NameDescription
Protected methodBaseApplication
Инициализировать BaseApplication.
Top
Properties
  NameDescription
Public propertyAppIcon
Иконка приложения.
Protected propertyCheckTargetPlatform
Проверять ли платформу при запуске.
Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Protected propertyExtendedFeatures
Расширенная функциональность, которая будет отображена в окне TargetPlatformWindow.
Public propertyStatic memberHelpCommand
Команда Справка.
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
Настройки прокси-сервера.
Public propertyResources
Gets or sets a collection of application-scope resources, such as styles and brushes.
(Inherited from Application.)
Public propertyShowExceptions
Показывать на экран ошибки, или только передавать их в LogManager. По умолчанию ошибки показываются.
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
Редактировать настройки прокси-сервера.
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
Обработка запуска приложения.
(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
Проверить, если экземпляр приложения уже запущен.
Public methodStatic memberStopIsRunning
Освободить все ресурсы, выделенные через StartIsRunning.
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
See Also