SecurityMappingPanel
StockSharp.Xaml
The panel for creation and editing of symbols mapping.
Inherits: UserControl
Implements: IPersistable, IComponentConnector
Constructors
SecurityMappingPanel
public SecurityMappingPanel()
securityMappingPanel = SecurityMappingPanel()
Initializes a new instance of the SecurityMappingPanel.
Properties
AddCommand
public ICommand AddCommand { get; set; }
value = securityMappingPanel.AddCommand
securityMappingPanel.AddCommand = value
Command to add new mapping.
ConnectorsInfo
public IEnumerable<ConnectorInfo> ConnectorsInfo { get; set; }
value = securityMappingPanel.ConnectorsInfo
securityMappingPanel.ConnectorsInfo = value
Visual description of available connections.
Mappings
public ObservableCollection<SecurityIdMapping> Mappings { get; set; }
value = securityMappingPanel.Mappings
securityMappingPanel.Mappings = value
Current mappings for selected connector.
RemoveCommand
public ICommand RemoveCommand { get; set; }
value = securityMappingPanel.RemoveCommand
securityMappingPanel.RemoveCommand = value
Command to remove selected mappings.
SaveCommand
public ICommand SaveCommand { get; set; }
value = securityMappingPanel.SaveCommand
securityMappingPanel.SaveCommand = value
Command to save mappings.
SaveText
public string SaveText { get; set; }
value = securityMappingPanel.SaveText
securityMappingPanel.SaveText = value
Text for Save button.
SelectedConnector
public ConnectorInfo SelectedConnector { get; set; }
value = securityMappingPanel.SelectedConnector
securityMappingPanel.SelectedConnector = value
Selected connector.
SelectedMappings
public IEnumerable<SecurityIdMapping> SelectedMappings { get; }
value = securityMappingPanel.SelectedMappings
Selected mappings in the grid.
Methods
InitializeComponent
public void InitializeComponent()
securityMappingPanel.InitializeComponent()
InitializeComponent
Load
public void Load(SettingsStorage storage)
securityMappingPanel.Load(storage)
Load settings.
- storage
- Settings storage.
Save
public void Save(SettingsStorage storage)
securityMappingPanel.Save(storage)
Save settings.
- storage
- Settings storage.
Fields
AddCommandProperty
public static readonly DependencyProperty AddCommandProperty
value = SecurityMappingPanel.AddCommandProperty
DependencyProperty for AddCommand.
ConnectorsInfoProperty
public static readonly DependencyProperty ConnectorsInfoProperty
value = SecurityMappingPanel.ConnectorsInfoProperty
DependencyProperty for ConnectorsInfo.
MappingsProperty
public static readonly DependencyProperty MappingsProperty
value = SecurityMappingPanel.MappingsProperty
DependencyProperty for Mappings.
RemoveCommandProperty
public static readonly DependencyProperty RemoveCommandProperty
value = SecurityMappingPanel.RemoveCommandProperty
DependencyProperty for RemoveCommand.
SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = SecurityMappingPanel.SaveCommandProperty
DependencyProperty for SaveCommand.
SaveTextProperty
public static readonly DependencyProperty SaveTextProperty
value = SecurityMappingPanel.SaveTextProperty
DependencyProperty for SaveText.
SelectedConnectorProperty
public static readonly DependencyProperty SelectedConnectorProperty
value = SecurityMappingPanel.SelectedConnectorProperty
DependencyProperty for SelectedConnector.