"I have no idea how to share the XAML TabControl within the bookmarkControlsObj class.."
Make an overloaded constructor so when you instantiate the bookmarkControlsObj
class you can pass in a reference to the Tab control. eg:
Public Class bookmarkControlsObj
Private browser_Tabs As TabControl
Public Sub New bookmarkControlsObj()
//Default constructor
End Sub
Public Sub New bookmarkControlsObj(ByVal tc As TabControl)
//Overloaded constructor
browser_Tabs = tc
End Sub
Calling code:
Dim bookmarkCntrlObj As New bookmarkControlsObj(browser_tabs)
bookmarkCntrlObj.follow("aUrl")