SecurityMappingPanel
Das Panel für die Erstellung und Bearbeitung von Symbolen Mapping.
Erbt von: UserControl
Implementiert: IAsyncPersistable, IComponentConnector
Konstruktoren
public SecurityMappingPanel()
securityMappingPanel = SecurityMappingPanel()
Initialisiert eine neue Instanz von SecurityMappingPanel.
Eigenschaften
public ICommand AddCommand { get; set; }
value = securityMappingPanel.AddCommand
securityMappingPanel.AddCommand = value
Befehl zum Hinzufügen eines neuen Mappings.
public IEnumerable<ConnectorInfo> ConnectorsInfo { get; set; }
value = securityMappingPanel.ConnectorsInfo
securityMappingPanel.ConnectorsInfo = value
Visuelle Beschreibung der verfügbaren Verbindungen.
public ObservableCollection<SecurityIdMapping> Mappings { get; set; }
value = securityMappingPanel.Mappings
securityMappingPanel.Mappings = value
Aktuelle Zuordnungen für ausgewählte connector.
public ICommand RemoveCommand { get; set; }
value = securityMappingPanel.RemoveCommand
securityMappingPanel.RemoveCommand = value
Befehl zum Entfernen ausgewählter Mappings.
public ICommand SaveCommand { get; set; }
value = securityMappingPanel.SaveCommand
securityMappingPanel.SaveCommand = value
Befehl zum Speichern von Mappings.
public string SaveText { get; set; }
value = securityMappingPanel.SaveText
securityMappingPanel.SaveText = value
Text für den Save Button.
public ConnectorInfo SelectedConnector { get; set; }
value = securityMappingPanel.SelectedConnector
securityMappingPanel.SelectedConnector = value
Ausgewählt connector.
public IEnumerable<SecurityIdMapping> SelectedMappings { get; }
value = securityMappingPanel.SelectedMappings
Ausgewählte Mappings im Raster.
Methoden
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
Rückgabe: Task
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = securityMappingPanel.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
Felder
public static readonly DependencyProperty AddCommandProperty
value = SecurityMappingPanel.AddCommandProperty
DependencyProperty für AddCommand.
public static readonly DependencyProperty ConnectorsInfoProperty
value = SecurityMappingPanel.ConnectorsInfoProperty
DependencyProperty für ConnectorsInfo.
public static readonly DependencyProperty MappingsProperty
value = SecurityMappingPanel.MappingsProperty
DependencyProperty für Mappings.
public static readonly DependencyProperty RemoveCommandProperty
value = SecurityMappingPanel.RemoveCommandProperty
DependencyProperty für RemoveCommand.
public static readonly DependencyProperty SaveCommandProperty
value = SecurityMappingPanel.SaveCommandProperty
DependencyProperty für SaveCommand.
public static readonly DependencyProperty SaveTextProperty
value = SecurityMappingPanel.SaveTextProperty
DependencyProperty für SaveText.
public static readonly DependencyProperty SelectedConnectorProperty
value = SecurityMappingPanel.SelectedConnectorProperty
DependencyProperty für SelectedConnector.