Would like to subscribe to events for the Edit tab Discard and Save changes buttons in ArcPro.
Solved! Go to Solution.
EditCompletedEvent.Subscribe(args =>
{
OnEditCompleted(args);
return Task.FromResult(0);
});
private void OnEditCompleted(EditCompletedEventArgs args)
{
if (args.CompletedType == EditCompletedType.Save)
{
}
else if (args.CompletedType == EditCompletedType.Discard)
{
}
}
EditCompletedEvent.Subscribe(args =>
{
OnEditCompleted(args);
return Task.FromResult(0);
});
private void OnEditCompleted(EditCompletedEventArgs args)
{
if (args.CompletedType == EditCompletedType.Save)
{
}
else if (args.CompletedType == EditCompletedType.Discard)
{
}
}