I am looking for the following events: LayoutAdded, ElementsAdded, and ElementsRemoved events. Are these going to be in future releases of the Pro SDK?
Thank you,
Tony
Thank you for your feedback Tony! We did add a couple of new events for Pro 2.2: LayoutRemoving and Layout PausedDrawingChanged but we will strongly consider the 3 events you request for a near term release.
Jeff
Hi Tony
As a workaround you can determine when a new layout has been added by using the ProjectItemsChangedEvent like this:
ProjectItemsChangedEvent.Subscribe((args) => {
if (args.ProjectItem is LayoutProjectItem && args.Action == System.Collections.Specialized.NotifyCollectionChangedAction.Add)
System.Diagnostics.Debug.WriteLine("Layout has been added");
});
Thank you Uma! I will add this and test it out. I appreciate the advice!
These events will be added for 2.3: ElementAdded, ElementRemoved, LayoutAdded.
Thank you for bringing these events to our attention.\
Jeff