I have some buttons in my ViewItemWpfUserControl, but i only want them to be enabled when the View is selected.
Is it a property or somthing i can change so it’s only availabel when the ViewItem is selected?
I have some buttons in my ViewItemWpfUserControl, but i only want them to be enabled when the View is selected.
Is it a property or somthing i can change so it’s only availabel when the ViewItem is selected?
Sorry you received no reply.
You need to register for receiving the SelectedViewItemChangedIndication message using EnvironmentManager.Instance.RegisterReceiver and check if your ViewItemWpfUserControl is selected. If it is selected, then you will change a button on it to enable.
Please see following link and find SelectedViewChangedIndication and SelectedViewChangedIndication;