Syncfusion.SfDataGrid.XForms
Example 

ValueChanged Event (SfDataGrid)

Event that handles the toggle changes of switches
Syntax
public event EventHandler<ValueChangedEventArgs> ValueChanged
Event Data

The event handler receives an argument of type ValueChangedEventArgs containing data related to this event. The following ValueChangedEventArgs properties provide information specific to this event.

PropertyDescription
Gets the record of the corresponding cell for which value changes occur  
Gets the Column.  
Gets the new cell value indicating whether the value is new value.  
Gets the RowColumnIndex.  
Gets the RowData.  
Example
switchColumn.ValueChanged += SwitchColumn_ValueChanged;
            
void SwitchColumn_ValueChanged(object sender, Syncfusion.SfDataGrid.XForms.ValueChangedEventArgs e)
{
//You can achieve your requirement here.
}
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.1451.0.38

See Also