SecurityMappingPanel
StockSharp.Xaml
符号映射的创建和编辑面板.
继承自: UserControl
实现: IPersistable, IComponentConnector
构造函数
SecurityMappingPanel
public SecurityMappingPanel()
securityMappingPanel = SecurityMappingPanel()
初始化了 & ##SecurityMappingPanel+#的新实例.
属性
AddCommand
public ICommand AddCommand { get; set; }
value = securityMappingPanel.AddCommand
securityMappingPanel.AddCommand = value
命令添加新绘图 。
ConnectorsInfo
public IEnumerable<ConnectorInfo> ConnectorsInfo { get; set; }
value = securityMappingPanel.ConnectorsInfo
securityMappingPanel.ConnectorsInfo = value
可用连接的可视化描述 。
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
删除选中映射的命令 。
SaveCommand
public ICommand SaveCommand { get; set; }
value = securityMappingPanel.SaveCommand
securityMappingPanel.SaveCommand = value
命令保存映射.
SaveText
public string SaveText { get; set; }
value = securityMappingPanel.SaveText
securityMappingPanel.SaveText = value
保存按钮的文本 。
SelectedConnector
public ConnectorInfo SelectedConnector { get; set; }
value = securityMappingPanel.SelectedConnector
securityMappingPanel.SelectedConnector = value
Selected connector.
SelectedMappings
public IEnumerable<SecurityIdMapping> SelectedMappings { get; }
value = securityMappingPanel.SelectedMappings
网格中选取的映射.
方法
InitializeComponent
public void InitializeComponent()
securityMappingPanel.InitializeComponent()
InitializeComponent
Load
public void Load(SettingsStorage storage)
securityMappingPanel.Load(storage)
装入设置 。
- storage
- 设置存储 。
Save
public void Save(SettingsStorage storage)
securityMappingPanel.Save(storage)
保存设置 。
- storage
- 设置存储 。
字段
AddCommandProperty
public static readonly DependencyProperty AddCommandProperty
value = SecurityMappingPanel.AddCommandProperty
DependencyProperty 为AddCommand.
ConnectorsInfoProperty
public static readonly DependencyProperty ConnectorsInfoProperty
value = SecurityMappingPanel.ConnectorsInfoProperty
DependencyProperty 为ConnectorsInfo.
MappingsProperty
public static readonly DependencyProperty MappingsProperty
value = SecurityMappingPanel.MappingsProperty
DependencyProperty for Mappings.
RemoveCommandProperty
public static readonly DependencyProperty RemoveCommandProperty
value = SecurityMappingPanel.RemoveCommandProperty
DependencyProperty 为RemoveCommand.
SaveCommandProperty
public static readonly DependencyProperty SaveCommandProperty
value = SecurityMappingPanel.SaveCommandProperty
DependencyProperty 为SaveCommand.
SaveTextProperty
public static readonly DependencyProperty SaveTextProperty
value = SecurityMappingPanel.SaveTextProperty
DependencyProperty 为SaveText.
SelectedConnectorProperty
public static readonly DependencyProperty SelectedConnectorProperty
value = SecurityMappingPanel.SelectedConnectorProperty
DependencyProperty 为SelectedConnector.