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






Gets or sets a value indicating whether data combo box should load data when the drop down is opened and the text is empty.

Syntax

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

Remarks

By default, UXPageableComboBox will display empty result when the query text is empty, but UXPageableComboBox also gives you an option to show all the records when the query text is empty. To activate this behavior, set the LoadDataWhenEmpty property to True.

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.