Hello,i want to select current row into ActiveDataItem property by recordExpanding Event in xaml.actually i used event trigger in xaml and i handeld it into ViewModel and i don't want to use ViewModel or Code behind
<igDP:XamDataGrid x:Name="AlarmGrid" DataSource="{Binding Path=Items}" Padding="1" FontSize="11" BorderThickness="1" BorderBrush="#E6000000" ActiveDataItem="{Binding Path=ActiveItem, Mode=TwoWay}"> <interactivity:Interaction.Triggers> <interactivity:EventTrigger EventName="RecordExpanding"> <prism:InvokeCommandAction Command="{Binding RowExpandCommand}" /> </interactivity:EventTrigger> </interactivity:Interaction.Triggers>