We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

WinRT SfDataGrid - Change foreground of selected row (Font-color)

Thread ID:





107492 Mar 5,2013 11:15 AM UTC Mar 6,2013 08:49 AM UTC WinRT 1
Tags: SfDataGrid
Asked On March 5, 2013 11:15 AM UTC

Hello SyncFusion team!

I am currently working with your SfDataGrid control in windows 8 metro/winRT. I would like to change the font-color of a selected row. Unfortunately i can't seem to get the whole GridModelOptions HighlightSelectionForeground thing working. Is this maybe only a WPF-DataGrid functionality? The SfDataGrid i am working with has no model or options or anything like that.

Thanks in advance,

Prakash Selvaraj [Syncfusion]
Replied On March 6, 2013 08:49 AM UTC

Hi Martin,


Thank you for choosing Syncfusion products.


We have analysed your query, as of now we are not giving any API to set foreground colour for selection. But you can achieve your requirement by editing Row and Cell style. We have created a simple sample to achieve your requirement. Kindly refer the below sample.


Sample: SfGrid.zip


Please let us know if you need further assistance.




Prakash S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon