This example demonstrates how to create a custom style to paint the WinForms Tab Control as needed:
public Form1() {
InitializeComponent();
PaintStyleCollection.DefaultPaintStyles.Add(new MyRegistrator());
xtraTabControl1.PaintStyleName = "MyStyle";
}
- MyRegistrator.cs (VB: MyRegistrator.vb)
- MySkinTabPainter.cs (VB: MySkinTabPainter.vb)
- Form1.cs (VB: Form1.vb)
(you will be redirected to DevExpress.com to submit your response)