C# Class Anabranch.Neo4JConsolePackage.AutoCompleteBehavior.AutoCompleteBehavior

This is taken from https://github.com/Nimgoble/WPFTextBoxAutoComplete/ - it's added as code as extensions to VS require signed dlls to work.
Exibir arquivo Open project: DotNet4Neo4j/Neo4j-Vs-Console

Public Properties

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

Public Methods

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

Private Methods

Method Description
GetFirstMatch ( ICollection collection, int lengthOfText, string subString, System.StringComparison comparer ) : string
OnAutoCompleteItemsSource ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnAutoCompleteLabelsSource ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnAutoCompleteRelationshipsSource ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ShouldInsertClosingCharacter ( char enteredCharacter, char &closingCharacter ) : bool
TextBox_OnPreviewKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void

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

TextBox_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

GetAutoCompleteLabelsSource() public static method

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

GetAutoCompleteRelationshipsSource() public static method

public static GetAutoCompleteRelationshipsSource ( 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

SetAutoCompleteLabelsSource() public static method

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

SetAutoCompleteRelationshipsSource() public static method

public static SetAutoCompleteRelationshipsSource ( 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_oe static_oe property

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

AutoCompleteLabelsSource public_oe static_oe property

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

AutoCompleteRelationshipsSource public_oe static_oe property

public static DependencyProperty,System.Windows AutoCompleteRelationshipsSource
return System.Windows.DependencyProperty

AutoCompleteStringComparison public_oe static_oe property

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