RadDock - How to add new documentWindow tabs on the right, instead of left

1 Answer 75 Views
Dock
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
Troy asked on 05 Feb 2023, 03:57 AM

When I add a new document window as such: docContainer.DockManager.AddDocument(newPage)

The tabstrip that it is created on, the new tab always appears first in the tab list.  I'd like it to appear on the end of all current tabs (the right in my case).  I can't figure it out, any help would be appreciated!

1 Answer, 1 is accepted

Sort by
0
Accepted
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
answered on 05 Feb 2023, 06:29 PM

I found the solution.  For anyone else looking for it:

 

docContainer.DockManager.DocumentManager.DocumentInsertOrder = Docking.DockWindowInsertOrder.ToBack

Dinko | Tech Support Engineer
Telerik team
commented on 06 Feb 2023, 01:56 PM

In addition, this property is mentioned in the Document Manager help article. It listed several other properties which, I think, could get in handy.
Tags
Dock
Asked by
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
Answers by
Troy
Top achievements
Rank 3
Bronze
Iron
Iron
Share this question
or