ConnectorWindow

StockSharp.Xaml

The window for new connections creating IMessageAdapter.

Inherits: ThemedWindow

Implements: IPersistable, IComponentConnector

Constructors

ConnectorWindow
public ConnectorWindow()
connectorWindow = ConnectorWindow()

Initializes a new instance of the ConnectorWindow.

Properties

Adapter
public BasketMessageAdapter Adapter { get; set; }
value = connectorWindow.Adapter
connectorWindow.Adapter = value

Adapter aggregator.

AutoConnect
public bool AutoConnect { get; set; }
value = connectorWindow.AutoConnect
connectorWindow.AutoConnect = value

Auto connect.

ConnectorsInfo
public IList<ConnectorInfo> ConnectorsInfo { get; }
value = connectorWindow.ConnectorsInfo

Visual description of available connections.

SelectedAdapter
public IMessageAdapter SelectedAdapter { get; set; }
value = connectorWindow.SelectedAdapter
connectorWindow.SelectedAdapter = value

Selected adapter.

Methods

InitializeComponent
public void InitializeComponent()
connectorWindow.InitializeComponent()

InitializeComponent

Load
public void Load(SettingsStorage storage)
connectorWindow.Load(storage)

Load settings.

storage
Settings storage.
OnClosing
protected override void OnClosing(CancelEventArgs e)
connectorWindow.OnClosing(e)
Save
public void Save(SettingsStorage storage)
connectorWindow.Save(storage)

Save settings.

storage
Settings storage.

Fields

EnableCommand
public static readonly RoutedCommand EnableCommand
value = ConnectorWindow.EnableCommand

RoutedCommand to enable connection.

RemoveCommand
public static readonly RoutedCommand RemoveCommand
value = ConnectorWindow.RemoveCommand

RoutedCommand for the connection removal.

SelectedAdapterProperty
public static readonly DependencyProperty SelectedAdapterProperty
value = ConnectorWindow.SelectedAdapterProperty

DependencyProperty for SelectedAdapter.