ButchersBoy / Dragablz

Dragable and tearable tab control for WPF
http://dragablz.net
MIT License
2.17k stars 321 forks source link

How to add new item programmatically #217

Open ryanperezx opened 5 years ago

ryanperezx commented 5 years ago

I have a button which on click should add new tab to the tabablzcontrol. I tried using Dragablz.TabablzControl.AddItem but i don't know what to write on addlocationhint so im stuck there.

here is my xaml code related to tab control: https://pastebin.com/Sumvm3Hs