TextSearch
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
DependencyProperty
Identifies the TextPath attached property.
public static readonly DependencyProperty TextPathProperty
TextProperty
DependencyProperty
Identifies the Text attached property.
public static readonly DependencyProperty TextProperty
Properties
Gets or sets the timeout after that the autocomplete buffer is reset.
public static TimeSpan AutoCompleteTimeout { get; set; }
Methods
Creates a Function that compares the provided text with its parameter. The result depends on the TextSearchMode.
public static Func<string, bool> CreateFullMatchFunc(string text, TextSearchMode mode)
Creates a Function that compares the provided text with its parameter. The result depends on the TextSearchMode.
Returns the string to that identifies the specified item.
public static string GetText(DependencyObject element)
The element from which the property value is read.
Returns:The string that identifies the specified item.
Returns the name of the property that identifies an item in the specified element's collection.
public static string GetTextPath(DependencyObject element)
The element from which the property value is read.
Returns:The name of the property that identifies the item to the user.
Writes the Text attached property to the specified element.
public static void SetText(DependencyObject element, string value)
The element to which the property value is written.
valuestringThe string that identifies the item.
Writes the TextPath attached property to the specified element.
public static void SetTextPath(DependencyObject element, string value)
The element to which the property value is written.
valuestringThe name of the property that identifies an item.