Intersoft ClientUI 8 > ClientUI Controls > Control Library > Input Controls Overview > UXSearchBox > How-to: Customize Dropdown Appearance in UXSearchBox |
This example shows how to customize DropDown appearance in UXSearchBox.
You can customize the UXSearchBox appearance from the following properties.
The following example shows how to customize DropDown appearance in UXSearchBox.
XAML |
Copy Code
|
---|---|
<Intersoft:UXSearchBox Name="HotelSearch" Intersoft:DockPanel.Dock="Right" Width="200" WatermarkText="Search..." WatermarkTextVisibility="Visible" WatermarkForeground="Aqua" Background="AliceBlue" BorderBrush="Chocolate" TextBoxPadding="10" BusyText="Busy" ResetButtonVisibility="Visible" SearchButtonVisibility="Visible" Foreground="Blue" DropDownBackground="AliceBlue" DropDownBorderBrush="BurlyWood" CornerRadius="15" AutoShowResultBox="True" SearchResult="{Binding SearchResult}" NoResultText="No Result" QueryText="{Binding QueryText, Mode=TwoWay}" NavigateUriMemberPath="NavigateUri" DisplayMemberPath="Hotel.Name" IsSearching="{Binding IsSearching, Mode=TwoWay}" /> |