ClassTextSearch
Enables a user to quickly access items in a set by typing prefixes of strings.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public static class TextSearch
Inheritance: objectTextSearch
Fields
TextPathProperty
Identifies the TextPath attached property.
Declaration
public static readonly DependencyProperty TextPathProperty
Field Value
DependencyProperty
TextProperty
Identifies the Text attached property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
DependencyProperty
Properties
AutoCompleteTimeout
Gets or sets the timeout after that the autocomplete buffer is reset.
Declaration
public static TimeSpan AutoCompleteTimeout { get; set; }
Property Value
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
text
mode
Returns
CreatePartialMatchFunc(string, TextSearchMode, bool)
Creates a Function that compares the provided text with its parameter. The result depends on the TextSearchMode.
GetText(DependencyObject)
Returns the string to that identifies the specified item.
Declaration
public static string GetText(DependencyObject element)
Parameters
element
DependencyObject
The element from which the property value is read.
Returns
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
element
DependencyObject
The element from which the property value is read.
Returns
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
element
DependencyObject
The element to which the property value is written.
value
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
element
DependencyObject
The element to which the property value is written.
value
The name of the property that identifies an item.