Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If dialog appeards after setting PropertyGridProperty value, the program freezes #644

Open
i-m-luke opened this issue Apr 3, 2019 · 0 comments

Comments

@i-m-luke
Copy link

i-m-luke commented Apr 3, 2019

Hi everyone (anyone),
I have an issue with setting PropertyGridProperty.Value property. If dialog occurs after setting the property, the program get stuck. I was tracking the problem inside my code and it get stuck after executing the line property.Value = valueToSet. There is no problem with setting the property if no dialog is shown. The property has multiple options (list of options) to set.

Bellow, I will briefly describe the scenario while the issue occurs:

  1. Finding a PropertyGridProperty
  2. Setting property value
  3. Immediately dialog is shown
  4. The code got stuck

After the dialog is manually closed the code execution continues. Unfortunately I'm not able to close it within the code, because I'm stuck on the line mentioned above.

Also, it seems SetValue() method doesn't work, because there is no logical implementation in it within the PropertyGridProperty (inheriting from UIItem).
Are there any steps to deal with the issue? Because it seems, my hands are tied while the problem is within the TestStack.White library.

I'll be thankful for any replies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant