StorageSettingsPanel
StockSharp.Xaml
存储设置的视觉面板 。
继承自: UserControl
构造函数
StorageSettingsPanel
public StorageSettingsPanel()
storageSettingsPanel = StorageSettingsPanel()
初始化了 & ##StorageSettingsPanel+#的新实例.
属性
Address
public string Address { get; set; }
value = storageSettingsPanel.Address
storageSettingsPanel.Address = value
远程存储地址。
IsCredentialsEnabled
public bool IsCredentialsEnabled { get; set; }
value = storageSettingsPanel.IsCredentialsEnabled
storageSettingsPanel.IsCredentialsEnabled = value
登录和密码仅可供编辑。默认值为 。
IsLocal
public bool IsLocal { get; set; }
value = storageSettingsPanel.IsLocal
storageSettingsPanel.IsLocal = value
是否选择本地存储 。
IsLocalEnabled
public bool IsLocalEnabled { get; set; }
value = storageSettingsPanel.IsLocalEnabled
storageSettingsPanel.IsLocalEnabled = value
本地设置已启用 。
IsRemoteEnabled
public bool IsRemoteEnabled { get; set; }
value = storageSettingsPanel.IsRemoteEnabled
storageSettingsPanel.IsRemoteEnabled = value
远程设置已启用 。
Login
public string Login { get; set; }
value = storageSettingsPanel.Login
storageSettingsPanel.Login = value
登录.
Password
public SecureString Password { get; set; }
value = storageSettingsPanel.Password
storageSettingsPanel.Password = value
密码
Path
public string Path { get; set; }
value = storageSettingsPanel.Path
storageSettingsPanel.Path = value
本地数据路径.
TargetCompId
public string TargetCompId { get; set; }
value = storageSettingsPanel.TargetCompId
storageSettingsPanel.TargetCompId = value
目标身份
方法
InitializeComponent
public void InitializeComponent()
storageSettingsPanel.InitializeComponent()
InitializeComponent
事件
SettingsChanged
public event Action SettingsChanged
storageSettingsPanel.SettingsChanged += handler
设置更改事件 。
字段
IsCredentialsEnabledProperty
public static readonly DependencyProperty IsCredentialsEnabledProperty
value = StorageSettingsPanel.IsCredentialsEnabledProperty
DependencyProperty 为IsCredentialsEnabled.