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

Checkbox Styling when Not Editable & Ticked

Thread ID:





127619 Nov 29,2016 02:44 AM UTC Nov 29,2016 12:29 PM UTC UWP 1
Tags: SfDataGrid
David Harvey
Asked On November 29, 2016 02:44 AM UTC

Presently, it's easy enough to set the styling for a checkbox type grid column when it is both checked *AND* Editable:

<Style x:Key="CellStyleBlue" TargetType="Grid:GridCell">

<Setter Property="Foreground" Value="Blue"/>

<Setter Property="BorderThickness" Value="0"/>

<Setter Property="Visibility" Value="Visible"/>


However, if the column is not marked checked *and* editable, this styling is not applied.  What do I need to do to customize those as well?

Thank you.

Srinivasan Vasu [Syncfusion]
Replied On November 29, 2016 12:29 PM UTC

Hi David, 
Thanks for contacting Syncfusion support. 
We cannot understand your query clearly. You can set Style for CheckBox directly in SfDataGrid using below code example. 
                <Style  TargetType="CheckBox"> 
                    <Setter Property="Foreground" Value="Blue"/> 
                    <Setter Property="BorderThickness" Value="0"/> 
                    <Setter Property="Visibility" Value="Visible"/> 
Could you please provide more details about your requirement? If it is possible please modify the above sample based on your requirement. It will be more helpful for us to serve you better. 


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

This page will automatically be redirected to the 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