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
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