How do I bind to something outside a datacontext.

Posted by AKRamkumar on Stack Overflow See other posts from Stack Overflow or by AKRamkumar
Published on 2010-04-20T10:14:19Z Indexed on 2010/04/20 10:33 UTC
Read the original article Hit count: 359

Filed under:
|
|

I have a listbox in WPF that is in the Layout Root.

I also have a Frame that is in the Layout Root as well.

The listbox is composed of items that have a string(Name) and a framework element(UI).

How do I bind the frame's content to be the UI property of the listbox's selected item property?

If you need a codebehind, how would you do this in MVVM

© Stack Overflow or respective owner

Related posts about wpf

Related posts about databinding