skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TextSearch

Enables a user to quickly access items in a set by typing prefixes of strings.

Inheritance
System.Object
TextSearch
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.Windows.DependencyProperty

TextProperty

Identifies the Text attached property.

Declaration
public static readonly DependencyProperty TextProperty
Field Value
System.Windows.DependencyProperty

Properties

AutoCompleteTimeout

Gets or sets the timeout after that the autocomplete buffer is reset.

Declaration
public static TimeSpan AutoCompleteTimeout { get; set; }
Property Value
System.TimeSpan

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.String text

TextSearchMode mode

Returns
System.Func<System.String, System.Boolean>

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.String text

TextSearchMode mode

System.Boolean isTextSearchCaseSensitive

Returns
System.Func<System.String, System.Boolean>

GetText(DependencyObject)

Returns the string to that identifies the specified item.

Declaration
public static string GetText(DependencyObject element)
Parameters
System.Windows.DependencyObject element

The element from which the property value is read.

Returns
System.String

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.Windows.DependencyObject element

The element from which the property value is read.

Returns
System.String

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.Windows.DependencyObject element

The element to which the property value is written.

System.String 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
System.Windows.DependencyObject element

The element to which the property value is written.

System.String value

The name of the property that identifies an item.

Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.