Intersoft ClientUI Documentation
BusyMode Property (UXSearchBox)



Gets or sets the busy mode.
Syntax
<CategoryAttribute("Common Properties")>
Public Property BusyMode As BusyMode
Dim instance As UXSearchBox
Dim value As BusyMode
 
instance.BusyMode = value
 
value = instance.BusyMode
[CategoryAttribute("Common Properties")]
public BusyMode BusyMode {get; set;}
[CategoryAttribute("Common Properties")]
public:
property BusyMode BusyMode {
   BusyMode get();
   void set (    BusyMode value);
}
Remarks

UXSearchBox has several user experience aspects that you can customize, such as when to display the result box and when to show the busy text / template.

Using the default settings, the UXSearchBox will not open the result box immediately when you type in a query text. Instead, it waits until the search result becomes available and then display it along with the result box. Once the result box is opened, it stays open until you close it by clicking outside the search box visual element, or clicking the reset button.

By setting the AutoShowResultBox property to True, UXSearchBox immediately opens the result box as you type into the text box. While waiting for the search result, the search box displays the BusyText or BusyTemplate which indicates that the searching is in progress.

You can also determine the behavior of the BusyText or BusyTemplate by customizing the BusyMode property. This property determines when the BusyText or BusyTemplate should be shown. If you set the BusyMode to First, the search box shows the BusyText or BusyTemplate only once during the first search until the search is reset. On the other hand, if you set the BusyMode to Always, the search box show the BusyText or BusyTemplate whenever searching is in progress.

XAML
Copy Code
<Intersoft:UXSearchBox 
    DisplayMemberPath="DisplayName" 
    WatermarkTextVisibility="Visible" WatermarkText="Enter keyword"
    AutoShowResultBox="True" BusyMode="Always"
    IsSearching="{Binding IsSearching, Mode=TwoWay}" 
    QueryText="{Binding QueryText, Mode=TwoWay}" 
    SearchResult="{Binding SearchResult}" 
    NavigateUriMemberPath="Uri"/>

For more information about user experience features in ClientUI controls, see User Experiences Overview.

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

UXSearchBox Class
UXSearchBox Members

Concepts

UXSearchBox
User Experiences Overview

Send Feedback