I want to do something like:
<Style x:Key="SelectedRow" TargetType="{x:Type igDP:DataRecordPresenter}">
<Setter Property="Margin" Value="0,1,0,10"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type igDP:DataRecordPresenter}">
<StackPanel>
<!--<ContentPresenter x:Name="PART_RecordContentSite" Content="{TemplateBinding DataContext}" ContentTemplate="{TemplateBinding RecordContentAreaTemplate}" MinHeight="20" MinWidth="50" />-->
<Label Content="Triggered"/>
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
<EventTrigger RoutedEvent="igDP:XamDataGrid.SelectedItemsChanged">
</EventTrigger>
</Style.Triggers>
</Style>
But i'm not understanding how to trigger on selectedItemsChanged.
Hello,
Have you tried the DataRecordCellArea's Selected and Deselected events. I am not sure if the SelectedItemChanged event would be an appropriate one for this.