EditOperation.ShowProgressor doesn't work

1129
2
Jump to solution
01-13-2017 01:18 AM
Highlighted
Occasional Contributor II

EditOperation.ShowProgressor property doesn't work. I set it to false but progress dialog is shown anyway. I saw your code with dotPeek and came to this awful workaround:

var editOperationType = typeof(EditOperation);
var progressorProperty = editOperationType.GetProperty("CancelableProgressor", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
if (progressorProperty != null)
    progressorProperty.SetValue(operation, CancelableProgressor.None);

Can you fix EditOperation.ShowProgressor property logic?

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Occasional Contributor

Thank you for pointing this out, this has been fixed (for the next release of Pro).

View solution in original post

2 Replies
Highlighted
Occasional Contributor

Thank you for pointing this out, this has been fixed (for the next release of Pro).

View solution in original post

Highlighted
Occasional Contributor II

OK, it is fixed in 2.0.

Reply
0 Kudos