Styling WatermarkContent in RadAutoCompleteBox

1 Answer 61 Views
AutoCompleteBox
Igor.Antohin
Top achievements
Rank 1
Iron
Igor.Antohin asked on 24 Mar 2022, 06:53 AM | edited on 24 Mar 2022, 06:55 AM
Hello. How I can styling WatermarkContent in RadAutoCompleteBox?
For example DateTimeWatermarkTemplateProperty in RadDateTimePicker is simple to set. 
Buks
Top achievements
Rank 1
commented on 15 Apr 2024, 05:38 AM

No answer?  Having the same issue.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 15 Apr 2024, 08:08 AM

Hello,

To customize the appearance of the watermark content, you can assign the WatermarkContent property to a UI element and customize it as you wish. For example:

<telerik:RadWatermarkTextBox>
    <telerik:RadWatermarkTextBox.WatermarkContent>
        <TextBlock Text="Enter text here" Foreground="Green" FontFamily="Italic" Opacity="0.5"/>
    </telerik:RadWatermarkTextBox.WatermarkContent>
</telerik:RadWatermarkTextBox>

Regards,
Martin Ivanov
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Tags
AutoCompleteBox
Asked by
Igor.Antohin
Top achievements
Rank 1
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or