Best Practices for Dynamically Showing/Hiding Controls in ArcGIS Pro SDK Development

213
2
Jump to solution
11-28-2023 01:25 AM
MaxWei
by
New Contributor

I am developing with ArcGIS Pro SDK, and I am describing the approach I need to implement. My add-in will initially have a login functionality, and upon logging in, it will acquire permissions. It will then assess different permissions to dynamically show or hide other controls within the add-in. What is the best way to achieve this?

0 Kudos
1 Solution

Accepted Solutions
GKmieliauskas
Esri Regular Contributor

Hi,

I would suggest you enable/disable/hide controls using conditions and states. Tutorial here.

Esri ArcGIS Pro community sample here.

https://proceedings.esri.com/library/userconf/devsummit18/papers/dev-int-054.pdf 

State Class—ArcGIS Pro

Take a look at the thread

View solution in original post

2 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

I would suggest you enable/disable/hide controls using conditions and states. Tutorial here.

Esri ArcGIS Pro community sample here.

https://proceedings.esri.com/library/userconf/devsummit18/papers/dev-int-054.pdf 

State Class—ArcGIS Pro

Take a look at the thread

MaxWei
by
New Contributor

Thank! helpful very useful.😊

0 Kudos