The topic in the attached link is very much inline with my question but I just wanted some clarification. I am attempting to create a custom workspace that dynamically creates a view and will operate like playback. It appears that @Salvatore La Placa (Multicom s.r.l.) was able use a single PlaybackWpfUserControl to control two ImageViewerWpfControl controls in his question, but he only had an issue with the timeline. As I my intent is to hide the timeline and create a custom one, my first question more directed to @Salvatore La Placa (Multicom s.r.l.). Was this done with a single ViewItem containing all the controls? As the example code I have reviewed place both controls in a single ViewItem. This, will help me confirm what is possible.
UPDATE: Was able to create a single ViewItem/Plugin to that had a single PlaybackWpfUserControl controlling four ImageViewWpfControls configured with properties to four different cameras. So the question remains is it possible and how would one go about to having these controls placed in difference ViewItem/Plugins to facilitate a dynamic number of ImageViewWpfContols and to place these into a Workspace?
To put into context I am attempting to create a Workspace with a configurable view layout grid (Workspace properties to configure no image viewers). So I created custom ViewItemPlugin around the ImageViewerWpfControl and a separate ViewItemPlugin for the PlaybackWpfUserControl controlling the timeline and playback view of all the cameras in the different . This so I can use ViewAndLayoutItem.InsertViewItemPlugin to place the controls. I assume that if I can handle the life cycle of the objects correctly and utilise messaging this is possible.
Thus, generally to @Bo Ellegård Andersen (Milestone Systems) am I approaching this in the correct manner or is there a better approach? Any advice would be most appreciated. Thank you.
@Salvatore La Placa (Multicom s.r.l.) @Bo Ellegård Andersen (Milestone Systems)