AnsweredAssumed Answered

Disable Dockpane

Question asked by modybsystematics-co-il-esridist Employee on Oct 11, 2020
Latest reply on Oct 19, 2020 by taungesriaustralia-com-au-esridist

Hi All

 

I have a dockpane with a few buttons. some of the buttons takes a while (running a few GP tools) and all the buttons depend on each other.

When I press a button I do not like the user to press any other button in the pane until the one that I pressed is finished.

All other panes, pan/zoom etc. should be active.

The way I found is to define IsEnable with binding for each button then when the button starts I set it to false and NotifyPropertyChanged.

This works but I need to do do it for each button.

I was hoping to find a general way to do it for all controls in the dockpane.

I was looking for Enable here: ArcGIS Pro 2.6 API Reference Guide  but it does not work.

Should I use conditions and how?

 

Thanks

Outcomes