C# Класс AutoFilteredComboBox, code

Наследование: ComboBox
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DropDownOnFocusProperty DependencyProperty,
IsCaseSensitiveProperty DependencyProperty,

Private Properties

Свойство Тип Описание
AutoFilteredComboBox_KeyUp void
FilterPredicate bool
OnTextChanged void
RefreshFilter void

Открытые методы

Метод Описание
AutoFilteredComboBox ( )

Creates a new instance of AutoFilteredComboBox.

OnApplyTemplate ( ) : void

Защищенные методы

Метод Описание
OnGotFocus ( RoutedEventArgs e ) : void

Invoked whenever an unhandled UIElement.GotFocus event reaches this element in its route.

OnItemsSourceChanged ( IEnumerable, oldValue, IEnumerable, newValue ) : void

Called when the source of an item in a selector changes.

OnSelectionChanged ( SelectionChangedEventArgs, e ) : void

Приватные методы

Метод Описание
AutoFilteredComboBox_KeyUp ( object sender, KeyEventArgs, e ) : void
FilterPredicate ( object value ) : bool
OnTextChanged ( object sender, TextChangedEventArgs, e ) : void
RefreshFilter ( ) : void

Описание методов

AutoFilteredComboBox() публичный Метод

Creates a new instance of AutoFilteredComboBox.

OnApplyTemplate() публичный Метод

public OnApplyTemplate ( ) : void
Результат void

OnGotFocus() защищенный Метод

Invoked whenever an unhandled UIElement.GotFocus event reaches this element in its route.
protected OnGotFocus ( RoutedEventArgs e ) : void
e RoutedEventArgs The that contains the event data.
Результат void

OnItemsSourceChanged() защищенный Метод

Called when the source of an item in a selector changes.
protected OnItemsSourceChanged ( IEnumerable, oldValue, IEnumerable, newValue ) : void
oldValue IEnumerable, Old value of the source.
newValue IEnumerable, New value of the source.
Результат void

OnSelectionChanged() защищенный Метод

protected OnSelectionChanged ( SelectionChangedEventArgs, e ) : void
e SelectionChangedEventArgs,
Результат void

Описание свойств

DropDownOnFocusProperty публичное статическое свойство

The DependencyProperty object of the DropDownOnFocus dependency property.
public static DependencyProperty, DropDownOnFocusProperty
Результат DependencyProperty,

IsCaseSensitiveProperty публичное статическое свойство

The DependencyProperty object of the IsCaseSensitive dependency property.
public static DependencyProperty, IsCaseSensitiveProperty
Результат DependencyProperty,