ComboBoxEditEx
Ecng.Xaml
ドロップダウンリストで単一の値を選択します。
継承元: ComboBoxEdit
コンストラクター
ComboBoxEditEx
public ComboBoxEditEx()
comboBoxEditEx = ComboBoxEditEx()
ComboBoxEditEx の新規インスタンスを初期化します。
プロパティ
ComboBoxEditExStyleKey
public static ComponentResourceKey ComboBoxEditExStyleKey { get; }
value = ComboBoxEditEx.ComboBoxEditExStyleKey
ComboBoxEditEx のデフォルトスタイルでリソースキーを取得します。
IsNullable
public bool IsNullable { get; set; }
value = comboBoxEditEx.IsNullable
comboBoxEditEx.IsNullable = value
無効です。
IsSearchable
public bool IsSearchable { get; set; }
value = comboBoxEditEx.IsSearchable
comboBoxEditEx.IsSearchable = value
探す
ShowObsolete
public bool ShowObsolete { get; set; }
value = comboBoxEditEx.ShowObsolete
comboBoxEditEx.ShowObsolete = value
obsolete を表示
SortOrder
public ListSortDirection? SortOrder { get; set; }
value = comboBoxEditEx.SortOrder
comboBoxEditEx.SortOrder = value
注文をソートします。
Source
public IItemsSource Source { get; private set; }
value = comboBoxEditEx.Source
comboBoxEditEx.Source = value
代表取締役社長 岡田 俊一
Value
public object Value { get; set; }
value = comboBoxEditEx.Value
comboBoxEditEx.Value = value
現在の値。
メソッド
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)
ItemsSource プロパティーの変更時に電話をかけます。
- oldValue
- ItemsSource プロパティの旧値。
- newValue
- ItemsSource プロパティの新規値。
OnValueMemberChanged
protected override void OnValueMemberChanged(string valueMember)
comboBoxEditEx.OnValueMemberChanged(valueMember)
TryConvertBaseValue
protected virtual object TryConvertBaseValue(SelectorPropertiesCoercionHelper helper, object bv)
result = comboBoxEditEx.TryConvertBaseValue(helper, bv)
ベース値をヘルパーを使用して編集値に変換しようとする。
- helper
- セレクターのコエシオンヘルパー。
- bv
- ベース値。
戻り値: 変換された編集値。
TryConvertEditValue
protected virtual object TryConvertEditValue(object ev)
result = comboBoxEditEx.TryConvertEditValue(ev)
編集値をエディタで許容する値に変換しようとすると、デフォルトでは元の値を返します。
- ev
- 編集値。
戻り値: 変換された値、または、元の値を使用する null 。
UpdateBindings
protected virtual void UpdateBindings()
comboBoxEditEx.UpdateBindings()
依存性プロパティが変更されたときに自動更新バインディング。
フィールド
IsNullableProperty
public static readonly DependencyProperty IsNullableProperty
value = ComboBoxEditEx.IsNullableProperty
無効です。
IsSearchableProperty
public static readonly DependencyProperty IsSearchableProperty
value = ComboBoxEditEx.IsSearchableProperty
探す
ShowObsoleteProperty
public static readonly DependencyProperty ShowObsoleteProperty
value = ComboBoxEditEx.ShowObsoleteProperty
obsolete を表示
SortOrderProperty
public static readonly DependencyProperty SortOrderProperty
value = ComboBoxEditEx.SortOrderProperty
注文をソートします。
ValueProperty
public static readonly DependencyProperty ValueProperty
value = ComboBoxEditEx.ValueProperty
現在の値。