Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

Please refer to How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?

I have similar problem... But this solution didn't work for me. I have a MainViewModel which has an observable collection of another view model say View1/ViewModel1. This view has a tree control and I need context menu for the tree. My main view has a menu. Those main menu and context menu are connected. So how can I bind the context menu commands to the main viewmodel's properties?

Please refer to How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?

I have similar problem... But this solution didn't work for me. I have a MainViewModel which has an observable collection of another view model say View1/ViewModel1. This view has a tree control and I need context menu for the tree. My main view has a menu. Those main menu and context menu are connected. So how can I bind the context menu commands to the main viewmodel's properties?

Please refer to How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?

I have similar problem... But this solution didn't work for me. I have a MainViewModel which has an observable collection of another view model say View1/ViewModel1. This view has a tree control and I need context menu for the tree. My main view has a menu. Those main menu and context menu are connected. So how can I bind the context menu commands to the main viewmodel's properties?

binding proprty Binding property with parent viewmodelViewModel

pleasePlease refer to How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?

I have similar problem...BUt But this solution didintdidn't work for me. I have a MainViewModel which has an observable collection of another view model say View1/ViewModel1. This view has a tree control and I need context menu for the tree. My main view has a menu. Those main menu and context menu are connected. So how can I bind the context menu commands to the main view model'sviewmodel's properties??

binding proprty with parent viewmodel

please refer How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?

I have similar problem...BUt this solution didint work for me. I have a MainViewModel which has an observable collection of another view model say View1/ViewModel1. This view has a tree control and I need context menu for the tree. My main view has a menu. Those main menu and context menu are connected. So how can I bind the context menu commands to the main view model's properties??

Binding property with parent ViewModel

Please refer to How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?

I have similar problem... But this solution didn't work for me. I have a MainViewModel which has an observable collection of another view model say View1/ViewModel1. This view has a tree control and I need context menu for the tree. My main view has a menu. Those main menu and context menu are connected. So how can I bind the context menu commands to the main viewmodel's properties?

Source Link
WpfBegnner
  • 319
  • 1
  • 5
  • 14

binding proprty with parent viewmodel

please refer How can I tell my DataTemplate to bind to a property in the PARENT ViewModel?

I have similar problem...BUt this solution didint work for me. I have a MainViewModel which has an observable collection of another view model say View1/ViewModel1. This view has a tree control and I need context menu for the tree. My main view has a menu. Those main menu and context menu are connected. So how can I bind the context menu commands to the main view model's properties??