EditOperation.ShowProgressor doesn't work

1136
2
Jump to solution
01-13-2017 01:18 AM
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
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
Occasional Contributor

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

View solution in original post

Occasional Contributor II

OK, it is fixed in 2.0.

Reply
0 Kudos