Intersoft ClientUI Documentation
IsTextSearchEnabled Property (UXTreeView)



Gets or sets a value that determines whether text search is enabled.
Syntax
<CategoryAttribute("Text Search")>
Public Overridable Property IsTextSearchEnabled As Boolean
Dim instance As UXTreeView
Dim value As Boolean
 
instance.IsTextSearchEnabled = value
 
value = instance.IsTextSearchEnabled
[CategoryAttribute("Text Search")]
public virtual bool IsTextSearchEnabled {get; set;}
[CategoryAttribute("Text Search")]
public:
virtual property bool IsTextSearchEnabled {
   bool get();
   void set (    bool value);
}
Remarks

UXTreeView also supports text search capability similar to other ClientUI items control such as UXListBox and UXComboBox. To enable text search, you set the IsTextSearchEnabled property to true. To enable case sensitivity in the text search, you set the IsTextSearchCaseSensitity property to true.

The text search feature is an essential usability feature that allows users can quickly locate an item in the hierarchical tree based on the typed characters. Note that only visible items in the hierarchy will be traversed during text search.

Example

The following code shows how to enable text search in UXTreeView.

XAML
Copy Code
<Grid>
    <Intersoft:UXTreeView IsTextSearchEnabled="True">
        <Intersoft:UXTreeViewItem Header="Folder 1">
            <Intersoft:UXTreeViewItem Header="File 1" />
            <Intersoft:UXTreeViewItem Header="File 2" />
            <Intersoft:UXTreeViewItem Header="File 3" />
            <Intersoft:UXTreeViewItem Header="File 4" />
        </Intersoft:UXTreeViewItem>
        <Intersoft:UXTreeViewItem Header="Folder 2">
            <Intersoft:UXTreeViewItem Header="File 1" />
            <Intersoft:UXTreeViewItem Header="File 2" />
        </Intersoft:UXTreeViewItem>
        <Intersoft:UXTreeViewItem Header="Folder 3" />
    </Intersoft:UXTreeView>
</Grid>
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXTreeView Class
UXTreeView Members

Send Feedback