Table of Contents

Class BaseApplication

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

The base class for WPF applications.

public abstract class BaseApplication : Application, IQueryAmbient
Inheritance
BaseApplication
Implements
Derived
Inherited Members
Extension Methods

Constructors

BaseApplication()

Initialize BaseApplication.

protected BaseApplication()

Properties

AppIcon

The application icon.

public string AppIcon { get; set; }

Property Value

string

CheckTargetPlatform

Whether to check the platform at start.

protected bool CheckTargetPlatform { get; set; }

Property Value

bool

HelpCommand

Help command.

public static ICommand HelpCommand { get; }

Property Value

ICommand

ProxySettings

Proxy-server settings.

public static ProxySettings ProxySettings { get; }

Property Value

ProxySettings

ShowExceptions

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

public bool ShowExceptions { get; set; }

Property Value

bool

Methods

EditProxySettings(Window)

To edit the proxy settings.

public static void EditProxySettings(Window owner)

Parameters

owner Window

Parent window.

OnStartup(StartupEventArgs)

Processing the application start.

protected override void OnStartup(StartupEventArgs e)

Parameters

e StartupEventArgs

Argument.