Hello,
I have a TabControl on my main window and I would like it to have two types of tabs. One tab will have several textboxes on them. How do I create a general Tab Page. i.e. create an XAML file to go with my tab:
Code:Public Class MyTab : Inherits TabItem CustomText_TextChanged(...) End Class Public Class CustomText : Inherits TextBox End Class
Code:<Resource> <Type:MyTab> <CustomText Name="CT1"/> <CustomText Name="CT2"/> </Type:MyTab> </Resource> <MainTabControl> <MyTab Header="Custom Tab" /> </MainTabControl>
I am really bad at XAML, so the XAML part will have to be explained.




Reply With Quote
