We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DocumentContainer - New Document opens in background

MVVM pattern.
DocumentContainer ItemSource  binded to an ObservableCollection in the ModelView, 
When you add a new object to the collection the DocumentContainer shows the new object behind the other objects.
Is it possible to open it in front of the other objects?
I've prepared a sample to show the unwanted behavior.

Attachment: DocumentContainerTest_9e0a800c.zip

3 Replies

SM Subashini Mahendran Syncfusion Team April 11, 2017 12:38 PM UTC

Hi Giovanni Selvatico,

Thank you for contacting Syncfusion support.

We have checked your query "New Document opens in background". We can activate and move the document to front by ValidateActiveDocument method of DocumentContainer when adding new document. We have prepared the sample to meet your requirement. Please download the same from the below location.

Sample: DocumentContainerTest 
  
If we misunderstood your reqiurement, please provide us more information regarding the requirement. This would help us to proceed further.

Regards,
Subashini M.
 



GS Giovanni Selvatico April 11, 2017 01:16 PM UTC

Thank you,
That was exactly what I was looking for.


SM Subashini Mahendran Syncfusion Team April 12, 2017 06:32 AM UTC

Hi Giovanni Selvatico,

We are glad to know that your issue has been solved. Please let us know if you need any other assistance.

Regards,
Subashini M.

Loader.
Up arrow icon