AnsweredAssumed Answered

EditOperation.ShowProgressor doesn't work

Question asked by maxmaxmaxmaxmax on Jan 13, 2017
Latest reply on Jul 20, 2017 by maxmaxmaxmaxmax

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?

Outcomes