Hi
Can you tell me how to integrate stylesheet with vb.net? I have used a tab control and i want to set the backcolor/style of the tab header/button.
Thanks
Printable View
Hi
Can you tell me how to integrate stylesheet with vb.net? I have used a tab control and i want to set the backcolor/style of the tab header/button.
Thanks
The TabControl is a WinForms component. You don't use stylesheets in WinForms apps. In fact, there is no in-built support for changing the colour, etc. of the tabs on a TabControl. It can be done but it takes some fancy footwork.
You could store the information in an XML file, but the routines to set the colors, formatting, etc. will have to be done by you.
This person has used the config file to store the information. You can go through this article for an idea of what you can do.
http://www.codeproject.com/cs/miscct...StyleSheet.asp