|
When I use Dock Panels, I have question.
My target: I want use noperisten object's detailView as Master to filter one persistent objects' listView.
for example:
I have peristent object: 'DemoTask' and noperistent object 'DemoTaskFilter'.
'DemoTask' have two properties: subject and StartDate.
'DemoTaskFilter' have two properties: DateFrom and DateTo.
I use 'DemoTaskFilter's detailView as Master.
I want it can filter the DemoTask listView' CollectionSource when I change the 'DemoTaskFilter' DateFrom and DateTo.
When the 'DemoTaskFilter' DockPanel show at first, the filter work fine.
But when I change the value of DateFrom or DateTo, the filter doesn't work.
If I close the filter,and open it again, it work fine.
I want it can filter the DemoTask listView' CollectionSource when I change the 'DemoTaskFilter' DateFrom and DateTo.
How to realize it?
By the way, I find the application have two 'New' action when the 'DemoTask' listView show.
Why? How to slove it?
Attached:
1_Snapshot_DetailViewAsMaster.jpg is MyApplication snapshot.
2_Vedio_DetailViewAsMasterFilter is MyApplication's vedio.
Solution27 is myApplication's solution.
Vs2015 Devexpress16.1.5 Xafrai 16.1.5010.0
|