C# Class FirstFloor.ModernUI.Presentation.AutoCompleteBehavior

Show file Open project: gro-ove/actools

Public Properties

Property Type Description
AutoCompleteItemsSource System.Windows.DependencyProperty
AutoCompleteStringComparison System.Windows.DependencyProperty

Public Methods

Method Description
GetAutoCompleteItemsSource ( DependencyObject obj ) : IEnumerable
GetAutoCompleteStringComparison ( DependencyObject obj ) : System.StringComparison
SetAutoCompleteItemsSource ( DependencyObject obj, IEnumerable value ) : void
SetAutoCompleteStringComparison ( DependencyObject obj, System.StringComparison value ) : void

Private Methods

Method Description
OnAutoCompleteItemsSource ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void

Used for moving the caret to the end of the suggested auto-completion text.

OnTextChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void

Search for auto-completion suggestions.

Method Details

GetAutoCompleteItemsSource() public static method

public static GetAutoCompleteItemsSource ( DependencyObject obj ) : IEnumerable
obj System.Windows.DependencyObject
return IEnumerable

GetAutoCompleteStringComparison() public static method

public static GetAutoCompleteStringComparison ( DependencyObject obj ) : System.StringComparison
obj System.Windows.DependencyObject
return System.StringComparison

SetAutoCompleteItemsSource() public static method

public static SetAutoCompleteItemsSource ( DependencyObject obj, IEnumerable value ) : void
obj System.Windows.DependencyObject
value IEnumerable
return void

SetAutoCompleteStringComparison() public static method

public static SetAutoCompleteStringComparison ( DependencyObject obj, System.StringComparison value ) : void
obj System.Windows.DependencyObject
value System.StringComparison
return void

Property Details

AutoCompleteItemsSource public static property

The collection to search for matches from.
public static DependencyProperty,System.Windows AutoCompleteItemsSource
return System.Windows.DependencyProperty

AutoCompleteStringComparison public static property

Whether or not to ignore case when searching for matches.
public static DependencyProperty,System.Windows AutoCompleteStringComparison
return System.Windows.DependencyProperty