Dragablz icon indicating copy to clipboard operation
Dragablz copied to clipboard

Adding tabs to tab panel at a specific position

Open slavik118 opened this issue 9 years ago • 3 comments

Hello,

I've integrated your control to my wpf mvvm application. Everything is perfect. The only problem is I can't add a new tab at a specific position. For example my tab panel looks like below: Tab 1 Tab 2 Tab 5 Tab 7

I need to insert tab named Tab 3 at the position after Tab 3 like below this.Items.Insert(2, item); Everything is fine in the Items observablecollection, but the control is added to the second position. Should I remake API to address this issue?

Another small issue. How can I navigate to a specific tab bu pressing a menu item.

Thank you iin advance and best regards.

slavik118 avatar Jun 25 '16 09:06 slavik118

Have you looked at this method?

https://github.com/ButchersBoy/Dragablz/wiki/Adding-New-Tabs#2---tabablzcontroladditem

ButchersBoy avatar Jun 27 '16 14:06 ButchersBoy

Thank a lot for prompt reply and greater details.

Well, at the end of the day I decided to add an extra method to the tab control and it did the trick.

Thank you to clues.

On Mon, Jun 27, 2016 at 6:37 PM, James Willock [email protected] wrote:

Have you looked at this method?

https://github.com/ButchersBoy/Dragablz/wiki/Adding-New-Tabs#2---tabablzcontroladditem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ButchersBoy/Dragablz/issues/109#issuecomment-228764483, or mute the thread https://github.com/notifications/unsubscribe/AQdfxRllaVGhSjOzdu8t77RunFm7ZJuUks5qP-AZgaJpZM4I-T3c .

slavik118 avatar Jul 02 '16 21:07 slavik118

Possible to drag only tab but navigate bar?

Chettra7 avatar Aug 30 '21 10:08 Chettra7