lets have some views in a tabcontrol. each view is represented by his own tabitem.
Lets also have a toolbar with entrys like "Edit", "Save", "Undo" and so on.
Be so kind and give me a tip how can i realize:
=> The toolbar items should be enabled/disabled due to the state of the view in the current tabitem - also if a tabselectionchange occurs or the view change his state
=> How can i pass the command of an enabled toolbaritem to the active view
I am searching for the relevant prism-way. Hardcoded (strange) will be no problem ;-)
Regards and thanks for help and time