Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
change font Cell
posted

hi,

 After the background i 'd like to change the font size, style, familly and the foreground for active cell , or for selected cell.

i've seen the style property for font but it's not possible change style when it use.

I'd like to know if it's possible?

thanks, 

Nathalie

 

Parents
No Data
Reply
  • 6867
    posted

    You can use a Style like this:

     <Style TargetType="{x:Type igDP:CellValuePresenter}">
      <Setter Property="ForegroundActiveStyle">
        <Setter.Value>
          <Style>
            <Setter Property="TextBlock.FontFamily" Value="Tahoma" />
            <Setter Property="TextBlock.FontSize" Value="13" />
          </Style>
        </Setter.Value>
      </Setter>
    </Style>

Children