<pre lang="xml"><igDataPresenter:XamDataGrid.Resources> <!-- This Style puts a CheckBox into the record selectors. --> <Style BasedOn="{x:Null}" TargetType="{x:Type igDataPresenter:RecordSelector}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type igDataPresenter:RecordSelector}"> <CheckBox HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding Path=DataItem.IsChecked, Mode=TwoWay}" /> </ControlTemplate> </Setter.Value> </Setter> </Style> </igDataPresenter:XamDataGrid.Resources>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)