-
November 16th, 2009, 05:38 AM
#1
Adding a TabItem to an existing derived TabControl in WPF
Hi,
My project contains a class, Symbol, which derives from UserControl and adds some custom dps etc... In code, Symbol also implements a Popup containing a TabControl along with the relevant click handlers to make this popup appear. Any objects which derive from Symbol have this popup which works fine.
I now need to be able to add new custom TabItems to the TabControl in the derived classes. I can do this in my code behind file but was wondering what the correct syntax is in WPF to add a TabItem to a parent's TabControl.
Can anyone help?
Cheers
Rich
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|