Checkbox Styling within a gridview

1 posts, 0 answers
  1. Richard
    Richard avatar
    9 posts
    Member since:
    Apr 2012

    Posted 21 Jan 2013 Link to this post


    I have placed a checkbox within a celltemplate and celledittemplate for a gridview column.
    <telerik:GridViewDataColumn Header = "Approved" DataMemberBinding = "{Binding Checked}">
    <CheckBox IsChecked = "{Binding Checked}"/>
    <CheckBox IsChecked = "{Binding Checked}"/>

    I customized styling in the Metro theme for the GridViewCheckBox.xaml and did the same for the System.Windows.Checkbox.xaml.
    But when my form is loaded and shows the data in the grid, the checkbox does not show the customized styling. It just shows the default windows styling.

    But when I click the checkbox cell and this goes in edit mode, the customized styling is shown. So it looks like whenever the CellTemplate is active, customized styling is not shown. When the cell goes in edit mode and CellEditTemplate is activated, customized styling is being shown.

    Any help appreciated on how I can make the CellTemplate to show the customized styling for the checkbox ?


    Richard Bergmans

Back to Top