This is a migrated thread and some comments may be shown as answers.

Data Filter and Inheritance

2 Answers 11 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Liora
Top achievements
Rank 1
Liora asked on 11 Dec 2013, 08:03 AM
Hello,

I'm working with a RadDataFilter and a GridView,  in the following manner:
XAML :
<telerik:RadDataFilter Grid.Row="0" x:Name ="radDataFilter_Report" Source="{Binding TaskReportsItemsSource.View }" />
<dataGrid:ThemeDataGrid  Grid.Row="1" ItemsSource ="{Binding FilteredSource, ElementName= radDataFilter_Report}">

Where as in the ViewModel:
private readonly ObservableCollection<IDerivedClass> TaskReportsItemsSource = new ObservableCollection<IDerivedClass>();

and the DerivedClass is:

public interface IDerivedClass: IBaseClass1, IBaseClass2, IEquatable<IBaseClass2>, IBaseClass3, INotifyPropertyChanged
{
ISomthing Something {get;set;}
bool IsMessageUnread {get;set;}
Enum1 ManagerDecision  {get;set;}
Enum2 Status  {get;set;}
}
In the filter fields list I can only see the fields from IDerivedClass and none of any of the base classes

How can I get all the fields ( the derived  and all base classes)?
Thanks a lot,
Liora

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 14 Dec 2013, 04:13 PM
Hi Liora,

I am afraid this is not possible.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Liora
Top achievements
Rank 1
answered on 25 Dec 2013, 07:52 AM
Thanks
Tags
DataFilter
Asked by
Liora
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Liora
Top achievements
Rank 1
Share this question
or