Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4341
How to apply custom appearance to WinTab header?
posted

We are using Infragistics WinTab control (Infragistics version 11.2). Can you please let us know if it is possible to change the header appearance of the tab. We have attached here with a screenshot for the tab appearance we need in our application.

Parents
No Data
Reply
  • 375
    Offline posted

    Hello,

    There are several predefined styles for the utlraTabControl and you have to use one of them. After that you have the flexibility to style the tabs the way you want. To achieve the appearance close to the one on the picture, I can suggest altering the folloring properties:

    1. Set the TabSize.Height and MinTabWidth, so you get a bigger tab
    2. Set the TabHeaderAppearance to style the area behind tabs
    3. In the tab collection, for each individual tab, you can set Appearance (backcolor, image, forecolor, etc.) to style the tabs when not active and after that you can set the ActiveAppearance (backcolor, image, forecolor, etc.)

    I created a small sample for you with this settings applied. Please let me know if this meets your requirements.

     

    TabHeaderAppearance.zip
Children