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

Firing event when GridDataColumnStyle CellType="CheckBox" is checked

Thread ID:





113660 Oct 3,2013 03:00 PM UTC Nov 19,2013 10:18 AM UTC WPF 1
Tags: GridControl
Asked On October 3, 2013 03:00 PM UTC

Hi my question is the following:
you can use a Command when the checkbox is selected?
former code snippet: 

<syncfusion:GridDataVisibleColumn HeaderText="Graph Signal"


                                <syncfusion:GridDataColumnStyle CellType="CheckBox"

                                <syncfusion:GridDataColumnStyle HorizontalAlignment="Center" />
                                <i:EventTrigger EventName="CheckBoxClick">
                                    <i:InvokeCommandAction Command="{Binding SelectedChannelCommand}" />


I await your answers,
thank you.
Alessio Massimiliano

Saravanan M [Syncfusion]
Replied On November 19, 2013 10:18 AM UTC

Hi Massi,

We are sorry for the delay

We have analyzed your query. If you want to handle checkbox clicked event,you have to hook the CurrentCellChanged event. You can refer the below codesnippet to achieve your requirement.


this.syncgrid.CurrentCellChanged += new Syncfusion.Windows.ComponentModel.GridRoutedEventHandler(syncgrid_CurrentCellChanged);

   void syncgrid_CurrentCellChanged(object sender, Syncfusion.Windows.ComponentModel.SyncfusionRoutedEventArgs args)


            var currentcellmanager = this.syncgrid.Model.CurrencyManager;

            if (currentcellmanager.CurrentCell.HasCurrentCell)


                var currentcell = currentcellmanager.CurrentCell;

                if (currentcell.Renderer is GridCellCheckboxRenderer)


                    var value = currentcell.Renderer.ControlValue as bool?;

                    if ((bool)value)


                        MessageBox.Show("checkbox selected");




                        MessageBox.Show("checbox unselected");







We have prepared sample based on your requirement and please find the attachment sample below.

Please let us know if you have any queries,





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