Watermark Support in WPF ComboBox (ComboBoxAdv)
24 Jun 2020 / 1 minute to read
It displays the default text in the ComboBoxAdv when none of the items is selected in the drop down list.
Property | Description | Type | Data Type | Reference links |
---|---|---|---|---|
DefaultText | It is possible to display the default text. | Dependency Property | String | NA |
Adding DefaultText property to an application
DefaultText property can be added directly to an application in the following way:
<syncfusion:ComboBoxAdv DefaultText="..Choose Items.."></syncfusion:ComboBoxAdv>
ComboBoxAdv comboBox = new ComboBoxAdv();
comboBox.DefaultText = "..Choose Items..";
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page