Class TextSearch
Enables a user to quickly access items in a set by typing prefixes of strings.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public static class TextSearch : Object
Fields
TextPathProperty
Identifies the TextPath attached property.
Declaration
public static readonly DependencyProperty TextPathProperty
Field Value
System.
|
TextProperty
Identifies the Text attached property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
System.
|
Properties
AutoCompleteTimeout
Gets or sets the timeout after that the autocomplete buffer is reset.
Declaration
public static TimeSpan AutoCompleteTimeout { get; set; }
Property Value
System.
|
Methods
CreateFullMatchFunc(String, TextSearchMode)
Creates a Function that compares the provided text with its parameter. The result depends on the TextSearchMode.
Declaration
public static Func<string, bool> CreateFullMatchFunc(string text, TextSearchMode mode)
Parameters
System.
|
Text
|
Returns
System.
|
CreatePartialMatchFunc(String, TextSearchMode, Boolean)
Creates a Function that compares the provided text with its parameter. The result depends on the TextSearchMode.
Declaration
public static Func<string, bool> CreatePartialMatchFunc(string text, TextSearchMode mode, bool isTextSearchCaseSensitive)
Parameters
System.
|
Text
|
System.
|
Returns
System.
|
GetText(DependencyObject)
Returns the string to that identifies the specified item.
Declaration
public static string GetText(DependencyObject element)
Parameters
System. The element from which the property value is read. |
Returns
System. The string that identifies the specified item. |
GetTextPath(DependencyObject)
Returns the name of the property that identifies an item in the specified element's collection.
Declaration
public static string GetTextPath(DependencyObject element)
Parameters
System. The element from which the property value is read. |
Returns
System. The name of the property that identifies the item to the user. |
SetText(DependencyObject, String)
Writes the Text attached property to the specified element.
Declaration
public static void SetText(DependencyObject element, string value)
Parameters
System. The element to which the property value is written. |
System. The string that identifies the item. |
SetTextPath(DependencyObject, String)
Writes the TextPath attached property to the specified element.
Declaration
public static void SetTextPath(DependencyObject element, string value)
Parameters
System. The element to which the property value is written. |
System. The name of the property that identifies an item. |