Hello everyone
I want to create a button add-in and I need to get text input from the user, for example when they click it a box appears (just like MessageBox) which they can fill, can someone explain to me how it is done?
I know how to create add-ins and how to create a From with TextBox in it, but I can not find a way to combine them together. I tried searching for it, but only found things on TextBox styles or text boxes inside Dockpane.
Maybe it can be done using EditBox or another ArcPro SDK components, but it needs to be done using TextBox
Thank you in advance.
Solved! Go to Solution.
Hi,
You can check Licensing sample . RegistrationWindow is dialog which could be a base for your needs. To open it from add-in button add code below:
var regWindow = new RegistrationWindow();
regWindow.ShowDialog();
Hi,
You can check Licensing sample . RegistrationWindow is dialog which could be a base for your needs. To open it from add-in button add code below:
var regWindow = new RegistrationWindow();
regWindow.ShowDialog();