ImportSettingsPanel

StockSharp.Xaml

The visual panel to edit importing settings.

Inherits: UserControl

Implements: IPersistable, IComponentConnector

Constructors

ImportSettingsPanel
public ImportSettingsPanel()
importSettingsPanel = ImportSettingsPanel()

Initializes a new instance of the ImportSettingsPanel.

Properties

SelectedFields
public IList<FieldMapping> SelectedFields { get; }
value = importSettingsPanel.SelectedFields

Selected fields.

SelectedFieldsSource
public IList<FieldMapping> SelectedFieldsSource { get; set; }
value = importSettingsPanel.SelectedFieldsSource
importSettingsPanel.SelectedFieldsSource = value

Selected fields for binding (OneWayToSource).

Settings
public ImportSettings Settings { get; set; }
value = importSettingsPanel.Settings
importSettingsPanel.Settings = value

Settings of import.

UnSelectedFields
public IList<FieldMapping> UnSelectedFields { get; }
value = importSettingsPanel.UnSelectedFields

All fields.

Methods

HasErrors
public bool HasErrors()
result = importSettingsPanel.HasErrors()

Verify.

Returns: Check result.

InitializeComponent
public void InitializeComponent()
importSettingsPanel.InitializeComponent()

InitializeComponent

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

Load settings.

storage
Settings storage.
Save
public void Save(SettingsStorage storage)
importSettingsPanel.Save(storage)

Save settings.

storage
Settings storage.
SelectFields
private void SelectFields(IEnumerable<FieldMapping> fields, bool autoSetOrders)
importSettingsPanel.SelectFields(fields, autoSetOrders)

Select fields.

fields
Fields.
autoSetOrders
Auto set fields order.
UnselectFields
private void UnselectFields(IEnumerable<FieldMapping> fields)
importSettingsPanel.UnselectFields(fields)

Unselect fields.

fields
Fields.

Fields

MoveDownFieldCommand
public static readonly RoutedCommand MoveDownFieldCommand
value = ImportSettingsPanel.MoveDownFieldCommand

Move down field command.

MoveUpFieldCommand
public static readonly RoutedCommand MoveUpFieldCommand
value = ImportSettingsPanel.MoveUpFieldCommand

Move up field command.

SelectedFieldsSourceProperty
public static readonly DependencyProperty SelectedFieldsSourceProperty
value = ImportSettingsPanel.SelectedFieldsSourceProperty

DependencyProperty for SelectedFieldsSource.

SelectFieldCommand
public static readonly RoutedCommand SelectFieldCommand
value = ImportSettingsPanel.SelectFieldCommand

Select field command.

SettingsProperty
public static readonly DependencyProperty SettingsProperty
value = ImportSettingsPanel.SettingsProperty

DependencyProperty for Settings.

UnselectFieldCommand
public static readonly RoutedCommand UnselectFieldCommand
value = ImportSettingsPanel.UnselectFieldCommand

Unselect field command.