This is a migrated thread and some comments may be shown as answers.

Change foreground color for placeholders

1 Answer 34 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 13 Aug 2013, 12:51 PM
Hi,

is there a way to have different foreground colors for the placeholders e.g. # and for the actually entered data? The placeholders should have a light gray color and the entered data should be black.

Thanks for your help,
Andreas

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 16 Aug 2013, 06:16 AM
Hello Andreas,

 I believe this is possible in RichTextBox control and in TextBlock containing different Runs but I don't believe this is possible in TextBox (I looked at many forums but I did not find a solution). The bad news is that the MaskedInputControl uses internally a TextBox.

Regards,
Petar Mladenov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Andreas
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or