none
Bind a combobox from the values of a parent listbox

    General discussion

  • Hi ,

    I have a window.xaml and usercontrol1.xaml and usercontrol2.xaml

    Both the user controls are in the window.xaml.

    in usercontrol1 I have a listbox which will be loaded with some values.

    Usercontrol2 is a popup and  will be opened when an "open" button is clicked in the window.

    In usercontrol2 , there is a combobox and I want to load the values of the listbox of UC1 to UC2.

    Also I need to make the default selection as the selected item of UC1 listbox(it's a single select listbox)

    What is the best way to do this?

     

    Thanks,

    Abhi

    Wednesday, February 2, 2011 10:30 AM

All replies

  • Hi,

    Would you please, make it little bit clear. Are you using MVVM patter or PRISM? 

     

    Regards

    Animesh

    Monday, August 29, 2011 3:02 PM