I'm would like to use the Data Filter in unbound mode in my mvvm app. User uses the DataFilter to build the criteria, then clicks a button to perform the search. Cancel and clear buttons will also be provided to cancel a search in progress and to clear the datafilter of all filter descriptors.
Can I build my ItemPropertyDefinitions in the viewmodel and bind this collection to the control on the view? If so, what is the proper collection/property I need to use to get this to work.
Also how do I get the collection of filter descriptors back to the viewmodel so that it can create a query. I'm guessing my view needs some code behind to make this work properly.
Can I build my ItemPropertyDefinitions in the viewmodel and bind this collection to the control on the view? If so, what is the proper collection/property I need to use to get this to work.
Also how do I get the collection of filter descriptors back to the viewmodel so that it can create a query. I'm guessing my view needs some code behind to make this work properly.