ComboBoxEditEx
Die Dropdown-Liste, um einen einzelnen Wert auszuwählen.
Erbt von: ComboBoxEdit
Konstruktoren
public ComboBoxEditEx()
comboBoxEditEx = ComboBoxEditEx()
Initialisiert eine neue Instanz von ComboBoxEditEx.
Eigenschaften
public static ComponentResourceKey ComboBoxEditExStyleKey { get; }
value = ComboBoxEditEx.ComboBoxEditExStyleKey
Bekommt den Ressourcenschlüssel für den Standardstil von ComboBoxEditEx.
public bool IsNullable { get; set; }
value = comboBoxEditEx.IsNullable
comboBoxEditEx.IsNullable = value
Ist nichtig.
public bool IsSearchable { get; set; }
value = comboBoxEditEx.IsSearchable
comboBoxEditEx.IsSearchable = value
Ist durchsuchbar.
public bool ShowObsolete { get; set; }
value = comboBoxEditEx.ShowObsolete
comboBoxEditEx.ShowObsolete = value
Zeigen Sie obsolet.
public ListSortDirection? SortOrder { get; set; }
value = comboBoxEditEx.SortOrder
comboBoxEditEx.SortOrder = value
Sortieren Sie die Bestellung.
public IItemsSource Source { get; private set; }
value = comboBoxEditEx.Source
comboBoxEditEx.Source = value
Aktuell IItemsSource.
public object Value { get; set; }
value = comboBoxEditEx.Value
comboBoxEditEx.Value = value
Aktueller Wert.
Methoden
protected override BaseEditSettings CreateEditorSettings()
result = comboBoxEditEx.CreateEditorSettings()
protected override EditStrategyBase CreateEditStrategy()
result = comboBoxEditEx.CreateEditStrategy()
protected override void OnEditModeChanged(EditMode oldValue, EditMode newValue)
comboBoxEditEx.OnEditModeChanged(oldValue, newValue)
protected override void OnItemsSourceChanged(object oldValue, object itemsSource)
comboBoxEditEx.OnItemsSourceChanged(oldValue, itemsSource)
Wird aufgerufen, wenn sich die ItemsSource-Eigenschaft ändert.
- oldValue
- Alter Wert der ItemsSource-Eigenschaft.
- newValue
- Neuer Wert der ItemsSource-Eigenschaft.
protected override void OnValueMemberChanged(string valueMember)
comboBoxEditEx.OnValueMemberChanged(valueMember)
protected virtual object TryConvertBaseValue(SelectorPropertiesCoercionHelper helper, object bv)
result = comboBoxEditEx.TryConvertBaseValue(helper, bv)
Versuche, den Basiswert mit Hilfe des Helfers in einen Edit-Wert umzuwandeln.
- helper
- Der Helfer des Selektors Zwang.
- bv
- Der Basiswert.
Rückgabe: Der konvertierte Edit-Wert.
protected virtual object TryConvertEditValue(object ev)
result = comboBoxEditEx.TryConvertEditValue(ev)
Versucht, den Edit-Wert in einen vom Editor akzeptablen Wert umzuwandeln.
- ev
- Der Edit-Wert.
Rückgabe: Der konvertierte Wert oder null, um den ursprünglichen Wert zu verwenden.
protected virtual void UpdateBindings()
comboBoxEditEx.UpdateBindings()
Auto-Update-Bindungen, wenn sich Abhängigkeitseigenschaften geändert haben.
Felder
public static readonly DependencyProperty IsNullableProperty
value = ComboBoxEditEx.IsNullableProperty
Ist nichtig.
public static readonly DependencyProperty IsSearchableProperty
value = ComboBoxEditEx.IsSearchableProperty
Ist durchsuchbar.
public static readonly DependencyProperty ShowObsoleteProperty
value = ComboBoxEditEx.ShowObsoleteProperty
Zeigen Sie obsolet.
public static readonly DependencyProperty SortOrderProperty
value = ComboBoxEditEx.SortOrderProperty
Sortieren Sie die Bestellung.
public static readonly DependencyProperty ValueProperty
value = ComboBoxEditEx.ValueProperty
Aktueller Wert.