CellStyleSelector Foreground IS NOT WORKING

2 posts, 0 answers
  1. Kumar
    Kumar avatar
    1 posts
    Member since:
    Sep 2014

    Posted 07 Nov 2014 Link to this post

    For example given in URL:


    I am unable to change Foreground color; Background color is working but Foreground color is not.

    <Style TargetType="telerik:GridViewCell" BasedOn="{StaticResource GridViewCellStyle}">
        <Setter Property="Foreground" Value="Red" />

    Please Help.
  2. Boris
    Boris avatar
    276 posts

    Posted 07 Nov 2014 Link to this post

    Hello Kumar,

    I tried to reproduce the mentioned behavior, however I was unsuccessful.

    I attached a sample project that demonstrates the approach from the article, the only difference is that I am setting the Foreground property instead of Background.

    Please examine it and let us know how it goes.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top