SecurityMappingPanel
Панель создания и редактирования отображения символов.
Наследует: UserControl
Реализует: IAsyncPersistable, IComponentConnector
Конструкторы
public SecurityMappingPanel()
securityMappingPanel = SecurityMappingPanel()
Инициирует новый экземпляр документа SecurityMappingPanel.
Свойства
public ICommand AddCommand { get; set; }
value = securityMappingPanel.AddCommand
securityMappingPanel.AddCommand = value
Командир, добавьте новую карту.
public IEnumerable<ConnectorInfo> ConnectorsInfo { get; set; }
value = securityMappingPanel.ConnectorsInfo
securityMappingPanel.ConnectorsInfo = value
Визуальное описание доступных соединений.
public ObservableCollection<SecurityIdMapping> Mappings { get; set; }
value = securityMappingPanel.Mappings
securityMappingPanel.Mappings = value
Текущие сопоставления для выбранного connector.
public ICommand RemoveCommand { get; set; }
value = securityMappingPanel.RemoveCommand
securityMappingPanel.RemoveCommand = value
Командир удаляет выбранные карты.
public ICommand SaveCommand { get; set; }
value = securityMappingPanel.SaveCommand
securityMappingPanel.SaveCommand = value
Командир по сохранению карт.
public string SaveText { get; set; }
value = securityMappingPanel.SaveText
securityMappingPanel.SaveText = value
Текст для кнопки Сохранить.
public ConnectorInfo SelectedConnector { get; set; }
value = securityMappingPanel.SelectedConnector
securityMappingPanel.SelectedConnector = value
Выбрано connector.
public IEnumerable<SecurityIdMapping> SelectedMappings { get; }
value = securityMappingPanel.SelectedMappings
Выбранные карты в сетке.
Методы
public void InitializeComponent()
securityMappingPanel.InitializeComponent()
InitializeComponent
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = securityMappingPanel.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Возвращает: Task
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = securityMappingPanel.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Возвращает: Task
Поля
public static readonly DependencyProperty AddCommandProperty
value = SecurityMappingPanel.AddCommandProperty
DependencyProperty для AddCommand.
public static readonly DependencyProperty ConnectorsInfoProperty
value = SecurityMappingPanel.ConnectorsInfoProperty
DependencyProperty для ConnectorsInfo.
public static readonly DependencyProperty MappingsProperty
value = SecurityMappingPanel.MappingsProperty
DependencyProperty для сопоставлений.
public static readonly DependencyProperty RemoveCommandProperty
value = SecurityMappingPanel.RemoveCommandProperty
DependencyProperty для RemoveCommand.
public static readonly DependencyProperty SaveCommandProperty
value = SecurityMappingPanel.SaveCommandProperty
DependencyProperty для SaveCommand.
public static readonly DependencyProperty SaveTextProperty
value = SecurityMappingPanel.SaveTextProperty
DependencyProperty для SaveText.
public static readonly DependencyProperty SelectedConnectorProperty
value = SecurityMappingPanel.SelectedConnectorProperty
DependencyProperty для SelectedConnector.