C# Class AutoFilteredComboBox, code

Inheritance: ComboBox
Afficher le fichier Open project: shendongnian/code

Méthodes publiques

Свойство Type Description
DropDownOnFocusProperty DependencyProperty,
IsCaseSensitiveProperty DependencyProperty,

Private Properties

Свойство Type Description
AutoFilteredComboBox_KeyUp void
FilterPredicate bool
OnTextChanged void
RefreshFilter void

Méthodes publiques

Méthode Description
AutoFilteredComboBox ( )

Creates a new instance of AutoFilteredComboBox.

OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
AutoFilteredComboBox_KeyUp ( object sender, KeyEventArgs, e ) : void
FilterPredicate ( object value ) : bool
OnTextChanged ( object sender, TextChangedEventArgs, e ) : void
RefreshFilter ( ) : void

Method Details

AutoFilteredComboBox() public méthode

Creates a new instance of AutoFilteredComboBox.

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnGotFocus() protected méthode

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.
Résultat void

OnItemsSourceChanged() protected méthode

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.
Résultat void

OnSelectionChanged() protected méthode

protected OnSelectionChanged ( SelectionChangedEventArgs, e ) : void
e SelectionChangedEventArgs,
Résultat void

Property Details

DropDownOnFocusProperty public_oe static_oe property

The DependencyProperty object of the DropDownOnFocus dependency property.
public static DependencyProperty, DropDownOnFocusProperty
Résultat DependencyProperty,

IsCaseSensitiveProperty public_oe static_oe property

The DependencyProperty object of the IsCaseSensitive dependency property.
public static DependencyProperty, IsCaseSensitiveProperty
Résultat DependencyProperty,