TreeListView - filter rows or visible/collapse row depends on source propery

1 posts, 0 answers
  1. Dejan Jovanov
    Dejan Jovanov avatar
    4 posts
    Member since:
    Aug 2009

    Posted 11 Apr 2013 Link to this post


    I have 2 controls: TreeView and TreeListView .
    Both controls have same ItemsSource business object (ObservableCollection<TDG_DataTable>).

    TreeView  displays all items everytime.
    TDG_DataTable has Boolean member "Included".
    Depends on Included value, TDG_DataTable item should be visible/hidden in TreeListView

    So both controls should have same source.
    How I can achieve this.

    Many thanks.
Back to Top