Select to view content in your preferred language

EditOperation.ShowProgressor doesn't work

1833
2
Jump to solution
01-13-2017 01:18 AM
MaxMax2
Frequent Contributor

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)
0 Kudos
1 Solution

Accepted Solutions
JohnJones
Esri Contributor

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

View solution in original post

2 Replies
JohnJones
Esri Contributor

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

MaxMax2
Frequent Contributor

OK, it is fixed in 2.0.

0 Kudos