Intersoft.Client.UI.Data Namespace > UXDataFilter Class : SearchBoxVisibility Property |
<CategoryAttribute("Common Properties")> Public Property SearchBoxVisibility As Visibility
Dim instance As UXDataFilter Dim value As Visibility instance.SearchBoxVisibility = value value = instance.SearchBoxVisibility
[CategoryAttribute("Common Properties")] public Visibility SearchBoxVisibility {get; set;}
[CategoryAttribute("Common Properties")] public: property Visibility SearchBoxVisibility { Visibility get(); void set ( Visibility value); }
In certain cases, you might end up with relatively large number of filter items in the UXDataFilter, which makes it difficult for users to find the items to include or exclude in the data filtering process. To address this challenge, you can enable search functionality feature by setting the SearchBoxVisibility property of the UXDataFilter to Visible.
As the results, a search box element will appear in the top of the check boxes which allow users to search the particular items to include or exclude during the data filtering process. The search box element is using UXSearchBox control, therefore it inherits all the rich user experience features already available in the control.
XAML |
Copy Code
|
---|---|
<Intersoft:UXDataFilter FilterDescriptors="{Binding QueryDescriptor.FilterDescriptors, Mode=TwoWay}" ItemsSource="{Binding Categories}" QueryOperation="Server" SearchBoxVisibility="Visible" Header="By Category:" DisplayMemberPath="CategoryName" ValueMemberPath="CategoryID" Margin="8,0"> </Intersoft:UXDataFilter> |
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