Change foreground color for placeholders

2 posts, 0 answers
  1. Andreas
    Andreas avatar
    36 posts
    Member since:
    Sep 2008

    Posted 13 Aug 2013 Link to this post

    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
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 16 Aug 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top