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.
Hi,
I am glad to hear this!
Please feel free to let me know if a question about our tool set comes up on your mind.
Hi Boris,Thank you for your reply.
We have finally achieved the tab appearance as we required. Your code was really helpful in aligning the image and additionally we were also able to use the same for aligning the text as well by implementing the "ImageAndTextDependentTextUIElement". And for removing dotted selection appearance we have set the "tabstop" property to "false".
If further any thing else is required then we'll surely let you know.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
Hi rhealsoftTakeoff,
I believe that this could be achieved using a CreationFilter.
Please try the following code for the 'Form1.cs' class:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Infragistics.Win;
using Infragistics.Win.UltraWinTabControl;
namespace TabHeaderAppearance
{
public partial class Form1 : Form
public Form1()
InitializeComponent();
Infragistics.Win.AppStyling.StyleManager.Load("..//..//CustomStyleSet.isl");
ultraTabControl1.CreationFilter = new CF();
}
private void Form1_Load(object sender, EventArgs e)
ultraTabControl1.UseOsThemes = DefaultableBoolean.False;
ultraTabControl1.Style = UltraTabControlStyle.PropertyPageSelected ;
ultraTabControl1.MinTabWidth = 120;
private void ultraButton1_Click(object sender, EventArgs e)
this.appStylistRuntime1.ShowRuntimeApplicationStylingEditor(this, "Styling Tabs");
class CF : IUIElementCreationFilter
public void AfterCreateChildElements(UIElement parent)
if(parent is Infragistics.Win.ImageAndTextUIElement.ImageAndTextDependentImageUIElement)
parent.Offset(5, 0);
public bool BeforeCreateChildElements(UIElement parent)
return false;
Please do not hesitate to contact me if you need any additional assistance.
Hi Vasil,Thanks for your reply,
The design which you have provided was very helpful, we have almost reached close to the tab header appearance as we require.
The only problem we are facing now is that aligning the number image which appears to be too close from the left margin. Is it possible to give a defined space between left margin and number image(image #1), as well as number image and tab header text (image #2). Also selecting the tab it shows a dotted selection (image #3); is there any property to remove it in selected appearance. We have attached herewith a screenshot (WizardTab3.png) showing the changes we require. Please review the same and let us know is there any property to achieve these changes.