BaseApplication

StockSharp.Xaml

The base class for WPF applications.

Inherits: Application

Constructors

BaseApplication
protected BaseApplication()
baseApplication = BaseApplication()

Initialize BaseApplication.

Properties

AppIcon
public string AppIcon { get; set; }
value = baseApplication.AppIcon
baseApplication.AppIcon = value

The application icon.

CheckTargetPlatform
protected bool CheckTargetPlatform { get; set; }
value = baseApplication.CheckTargetPlatform
baseApplication.CheckTargetPlatform = value

Whether to check the platform at start.

FileSystem
protected static IFileSystem FileSystem { get; }
value = BaseApplication.FileSystem

File system.

HelpCommand
public static ICommand HelpCommand { get; }
value = BaseApplication.HelpCommand

Help command.

ProxySettings
public static ProxySettings ProxySettings { get; private set; }
value = BaseApplication.ProxySettings
BaseApplication.ProxySettings = value

Proxy-server settings.

ShowExceptions
public bool ShowExceptions { get; set; }
value = baseApplication.ShowExceptions
baseApplication.ShowExceptions = value

To show errors on the screen or just to pass them to LogManager. By default, errors are displayed.

Methods

EditProxySettings
public static void EditProxySettings(Window owner)
BaseApplication.EditProxySettings(owner)

To edit the proxy settings.

owner
Parent window.
OnStartup
protected override void OnStartup(StartupEventArgs e)
baseApplication.OnStartup(e)

Processing the application start.

e
Argument.