← Back to all blogs

Posts tagged with 'textblock'

Highlight Search String in WPF C1DataGrid and C1Flexgrid

Users often have the requirement to change the Foreground of the partial text inside a certain cell in a grid. This could be for a scenario where it is required to highlight some text being searched.

Setting BackGround & ForeGround of WPF FlexGrid rows with CellTemplate

Usage of a TextBlock is quite common in CellTemplates of  Columns in a C1Flexgrid for WPF.  There might a requirement of changing BackGround/ForeGround of C1FlexGrid rows on some event, say MouseHover.