WPF TreeView - SelectedItem Two Way Binding(www.deanchalk.me.uk)

submitted by ButtonChromeButtonChrome(230) 8 months, 25 days ago

Because the standard WPF TreeView implementation supports Virtualization it is unable to support two way bindings on its SelectedItem property as standard. This makes sense, because with Virtualization you may not have a container (TreeViewItem) available for any particular bound data item at the time you need it (to set its IsSelected property of the TreeViewItem to ‘True’).

1 comment |category: |Views: 62

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 8 months, 25 days ago 0

I've run across a similar problem with the WPF Listbox, thanks for sharing the workaround for Treeviews :-)

Reply

information Login or create an account to comment on this story