Hi Damian,
After the above modifications the ColumnFilterControl appear in each column Header of my Grid but:
1-the images for filter operations doesn't show up in cbOperation combo box and distinct properties don't show up in cbDistinctProperties and Filter text
box not working.
2-i modified JibGrid to be stand alone class (no xaml code) but still inheriting from DataGrid class which will be referenced in the View Model which will delegate
requests to it. i need to now the new class structure
3-the interaction between the new JibGrid.cs class and ColumnFilterControl i can't figure out.
So if you allow me, what i need is to modify this application like this:
this way i can use this filter utility within MVVM, Prism rules and i can reuse it for any datagrid easily.
Sorry, if i'm asking too much but i tired really hard to apply the above modifications but i couldn't make it work, so i count very much on you.
Thanks.
After the above modifications the ColumnFilterControl appear in each column Header of my Grid but:
1-the images for filter operations doesn't show up in cbOperation combo box and distinct properties don't show up in cbDistinctProperties and Filter text
box not working.
2-i modified JibGrid to be stand alone class (no xaml code) but still inheriting from DataGrid class which will be referenced in the View Model which will delegate
requests to it. i need to now the new class structure
3-the interaction between the new JibGrid.cs class and ColumnFilterControl i can't figure out.
So if you allow me, what i need is to modify this application like this:
1-transform Jib.WPF.Controls project into Infrastucture module contains same items with the previous modifications
2-the project Jib.WPF.Testbed to be the MEFBootstrapper module with replacing MainWindow.xaml by MainView.xaml which will contain the data grid with
its columns generated manually and no code behind and MainViewModel.cs which is the view model for the MainView.xaml and which will interact with the
view and Filtering classes
3-using MEF
Note: the ItemsSource for DataGrid is ObservableCollection in the view model which is populated of data from database via services.this way i can use this filter utility within MVVM, Prism rules and i can reuse it for any datagrid easily.
Sorry, if i'm asking too much but i tired really hard to apply the above modifications but i couldn't make it work, so i count very much on you.
Thanks.