Select to view content in your preferred language

Switch Pages from the Esri Options without using ShowDialog or Show

181
2
Jump to solution
a month ago
ChrisRobles
New Contributor

I was wondering if there is an easier way to switch pages within a property sheet. I have 3 pages that store settings in the esri_core_optionsPropertySheet and I was wondering if there is a smoother way of switching pages without having to scroll and click each page. Right now if I wanted to programmatically switch pages, I would have to do a Propertysheet.ShowDialog which just opens a new property sheet instead of changing the page that I have open in the property sheet. 

 

 

0 Kudos
1 Solution

Accepted Solutions
GKmieliauskas
Esri Regular Contributor

Hi,

You need to get page, you want to migrate using id from config.daml, and select it. Code below:

            var appPage = PropertySheet.Page("esri_sdk_PropertyPageAppSettings");

            appPage.IsSelected = true;

View solution in original post

0 Kudos
2 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

You need to get page, you want to migrate using id from config.daml, and select it. Code below:

            var appPage = PropertySheet.Page("esri_sdk_PropertyPageAppSettings");

            appPage.IsSelected = true;
0 Kudos
ChrisRobles
New Contributor

That worked, thank you very much!

0 Kudos