BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<syncfusion:SfDataGrid x:Name="sfdatagrid" Grid.Column="0"
AutoGenerateColumns="False"
AllowEditing="True"
CurrentCellBorderBrush="Transparent"
RowSelectionBrush="Transparent"
AllowGrouping="True"
ShowRowHeader="True"
SelectionUnit="Cell"
SelectionMode="Single"
ItemsSource="{Binding OrderDetails}">
public class GridCellSelectionControllerExt : GridCellSelectionController
{
public GridCellSelectionControllerExt(SfDataGrid dataGrid) : base(dataGrid)
{
}
protected override void ProcessPointerPressed(MouseButtonEventArgs args, RowColumnIndex rowColumnIndex)
{
var columnIndex = this.DataGrid.ResolveToGridVisibleColumnIndex(rowColumnIndex.ColumnIndex);
var column = this.DataGrid.Columns[columnIndex];
if (column is GridCheckBoxColumn)
{
base.ProcessPointerPressed(args, rowColumnIndex);
}
}
protected override void ProcessKeyDown(KeyEventArgs args)
{
return;
}
} |