ImportSettingsPanel

StockSharp.Xaml

The visual panel to edit importing settings.

继承自: UserControl

实现: IPersistable, IComponentConnector

构造函数

ImportSettingsPanel()

Initializes a new instance of the ImportSettingsPanel.

属性

SelectedFields : IList<FieldMapping>

Selected fields.

SelectedFieldsSource : IList<FieldMapping>

Selected fields for binding (OneWayToSource).

Settings : ImportSettings

Settings of import.

方法

HasErrors() : bool

Verify.

返回值: Check result.

InitializeComponent()

InitializeComponent

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Save(SettingsStorage)

Save settings.

storage
Settings storage.
SelectFields(IEnumerable<FieldMapping>, bool)

Select fields.

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

Unselect fields.

fields
Fields.

字段

MoveDownFieldCommand : RoutedCommand

Move down field command.

MoveUpFieldCommand : RoutedCommand

Move up field command.

SelectedFieldsSourceProperty : DependencyProperty

DependencyProperty for SelectedFieldsSource.

SelectFieldCommand : RoutedCommand

Select field command.

SettingsProperty : DependencyProperty

DependencyProperty for Settings.

UnselectFieldCommand : RoutedCommand

Unselect field command.