ComboBoxEditEx

Ecng.Xaml

Die Dropdown-Liste, um einen einzelnen Wert auszuwählen.

Erbt von: ComboBoxEdit

Konstruktoren

ComboBoxEditEx
public ComboBoxEditEx()
comboBoxEditEx = ComboBoxEditEx()

Initialisiert eine neue Instanz von ComboBoxEditEx.

Eigenschaften

ComboBoxEditExStyleKey
public static ComponentResourceKey ComboBoxEditExStyleKey { get; }
value = ComboBoxEditEx.ComboBoxEditExStyleKey

Bekommt den Ressourcenschlüssel für den Standardstil von ComboBoxEditEx.

IsNullable
public bool IsNullable { get; set; }
value = comboBoxEditEx.IsNullable
comboBoxEditEx.IsNullable = value

Ist nichtig.

IsSearchable
public bool IsSearchable { get; set; }
value = comboBoxEditEx.IsSearchable
comboBoxEditEx.IsSearchable = value

Ist durchsuchbar.

ShowObsolete
public bool ShowObsolete { get; set; }
value = comboBoxEditEx.ShowObsolete
comboBoxEditEx.ShowObsolete = value

Zeigen Sie obsolet.

SortOrder
public ListSortDirection? SortOrder { get; set; }
value = comboBoxEditEx.SortOrder
comboBoxEditEx.SortOrder = value

Sortieren Sie die Bestellung.

Source
public IItemsSource Source { get; private set; }
value = comboBoxEditEx.Source
comboBoxEditEx.Source = value

Aktuell IItemsSource.

Value
public object Value { get; set; }
value = comboBoxEditEx.Value
comboBoxEditEx.Value = value

Aktueller Wert.

Methoden

CreateEditorSettings
protected override BaseEditSettings CreateEditorSettings()
result = comboBoxEditEx.CreateEditorSettings()
CreateEditStrategy
protected override EditStrategyBase CreateEditStrategy()
result = comboBoxEditEx.CreateEditStrategy()
OnEditModeChanged
protected override void OnEditModeChanged(EditMode oldValue, EditMode newValue)
comboBoxEditEx.OnEditModeChanged(oldValue, newValue)
OnItemsSourceChanged
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.
OnValueMemberChanged
protected override void OnValueMemberChanged(string valueMember)
comboBoxEditEx.OnValueMemberChanged(valueMember)
TryConvertBaseValue
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.

TryConvertEditValue
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.

UpdateBindings
protected virtual void UpdateBindings()
comboBoxEditEx.UpdateBindings()

Auto-Update-Bindungen, wenn sich Abhängigkeitseigenschaften geändert haben.

Felder

IsNullableProperty
public static readonly DependencyProperty IsNullableProperty
value = ComboBoxEditEx.IsNullableProperty

Ist nichtig.

IsSearchableProperty
public static readonly DependencyProperty IsSearchableProperty
value = ComboBoxEditEx.IsSearchableProperty

Ist durchsuchbar.

ShowObsoleteProperty
public static readonly DependencyProperty ShowObsoleteProperty
value = ComboBoxEditEx.ShowObsoleteProperty

Zeigen Sie obsolet.

SortOrderProperty
public static readonly DependencyProperty SortOrderProperty
value = ComboBoxEditEx.SortOrderProperty

Sortieren Sie die Bestellung.

ValueProperty
public static readonly DependencyProperty ValueProperty
value = ComboBoxEditEx.ValueProperty

Aktueller Wert.