Intersoft ClientUI Documentation
AutoShowResultBox Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXDataComboBox Class : AutoShowResultBox Property






Gets or sets a value indicating whether the result box should be automatically displayed when the query text is changed.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property AutoShowResultBox As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXDataComboBox
Dim value As Boolean
 
instance.AutoShowResultBox = value
 
value = instance.AutoShowResultBox
C# 
[CategoryAttribute("Common Properties")]
public bool AutoShowResultBox {get; set;}
Delphi 
public read-write property AutoShowResultBox: Boolean; 
JScript 
CategoryAttribute("Common Properties")
public function get,set AutoShowResultBox : boolean
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property bool get_AutoShowResultBox();
public: __property void set_AutoShowResultBox( 
   bool value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property bool AutoShowResultBox {
   bool get();
   void set (    bool value);
}

Remarks

UXDataComboBox 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, UXDataComboBox will not open the result box immediately when users type in a query text. Instead, it waits until the search result becomes available and then display it along with the result box. Users will then select an item from the available results.

By setting the AutoShowResultBox property to True, UXDataComboBox 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. In contrast, if you set the BusyMode to Always, the search box shows the BusyText or BusyTemplate whenever searching is in progress.

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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.