Hi,
We've just upgraded to WPF and a XamDataPresenter's row selection has stopped working. Has anything from the default settings changed that we need to override?
Thanks.
PS - Please find below the control declaration in XAML. You can ignore the attached behaviour. It subscribes to the SelectedItemsChanged event, which doesn't get raised anymore. It does when working with a XamDataGrid.
<igDP:XamDataPresenter Name="xamDataPresenter1" Theme="Office2k7Black" ScrollingMode="Immediate" DataSource="{Binding DealHistoryList}" ActiveRecord="{Binding ActiveRequestDetails, Converter={StaticResource RowConverter}, Mode=TwoWay}" MouseDoubleClick="xamDataPresenter1_MouseDoubleClick" infraControls:XamDataGridItemsHelper.SelectedDataItemsEnabled="True" infraControls:XamDataGridItemsHelper.SelectedDataItems="{Binding SelectedItems, Mode=TwoWay}" Infragistics:XamDataGridSettingsHelper.ActivateRecordOnRightClick="True" GroupByAreaLocation="None">
These are the FieldSettnigs and FieldLayoutSettings that we have currently setup for our control.
<igDP:XamDataPresenter.FieldSettings> <igDP:FieldSettings CellClickAction="SelectRecord" ExpandableFieldRecordHeaderDisplayMode="NeverDisplayHeader" /> </igDP:XamDataPresenter.FieldSettings> <igDP:XamDataPresenter.FieldLayoutSettings> <igDP:FieldLayoutSettings MaxSelectedRecords="2" AutoGenerateFields="False" ExpansionIndicatorDisplayMode="CheckOnDisplay"/> </igDP:XamDataPresenter.FieldLayoutSettings>
I meant we've just upgraded to WPF 4.