Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6216881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T07:19:42+00:00 2026-05-24T07:19:42+00:00

I have a TreeView thats binding to an Object of Type View with an

  • 0

I have a TreeView thats binding to an Object of Type View with an attribute Name and two Lists.
When i add Elements in one of the expanded Lists it stays expanded and thats what i want .
The Problem is when i change The Name of View1 all the Multibinging Bindings are refreshed and all expanded Lists if any in the View1 collapses, but the View1 is still expanded .
Is there any Way to avoid this behaviour so that when the value of the Name changes the converter somehow only changes the changed Value without collasing other Bindings .
Thank you

<HierarchicalDataTemplate DataType="{x:Type local:View}">
    <HierarchicalDataTemplate.ItemsSource>
        <MultiBinding Converter="{StaticResource folderConverter}" ConverterParameter=",A,B">
            <Binding Path="Name"/>
            <Binding Path="List1"/>
            <Binding Path="List2"/>
        </MultiBinding>
    </HierarchicalDataTemplate.ItemsSource>`
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T07:19:43+00:00Added an answer on May 24, 2026 at 7:19 am

    Your setup looks like something in which a CompositeCollection might help, it should prevent the complete recreation of the ItemsSource even if you change a part.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hallo, I have read Easy object binding to Treeview Node , but still have
I have a ASP.Net TreeView control that I am binding to an XML data
I have a winforms TreeView control that allows you to browse an object hierarchy.
I have a TreeView bound to an XmlDataProvider . The name of a node
I have the following XAML: <TreeView> <TreeViewItem ItemsSource={Binding} Header=TopMost IsExpanded=True> <TreeViewItem.ItemTemplate> <DataTemplate> <TreeViewItem> <TreeViewItem.Header>
I have MyCollection of MyPOCO object (that has two string properties). When I try
I have a UserControl which contains a TreeView and a TextBlock : <TreeView ItemsSource={Binding
Hello All I am using infragsitics tree view control.I have one stored procedure that
I have a treeview with checkboxes for each item using a DataTemplate. <TreeView ItemsSource={Binding}>
I have a MainWindow that contains a window with a TreeView. The tree view

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.