Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Commit 663eb05

Browse files
DevExpressExampleBotDevExpressExampleBot
authored andcommitted
README auto update [skip ci]
1 parent 3496683 commit 663eb05

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

Readme.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
<!-- default badges list -->
2-
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128619657/24.2.1%2B)
3-
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E2775)
4-
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
5-
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
6-
<!-- default badges end -->
7-
8-
# WinForms Tab Control - Create a custom style
9-
10-
This example demonstrates how to create a custom style to paint the WinForms Tab Control as needed:
11-
12-
```csharp
13-
public Form1() {
14-
InitializeComponent();
15-
PaintStyleCollection.DefaultPaintStyles.Add(new MyRegistrator());
16-
xtraTabControl1.PaintStyleName = "MyStyle";
17-
}
18-
```
19-
20-
21-
## Files to Review
22-
23-
* [MyRegistrator.cs](./CS/WindowsApplication1/Custom%20style/MyRegistrator.cs) (VB: [MyRegistrator.vb](./VB/WindowsApplication1/Custom%20style/MyRegistrator.vb))
24-
* [MySkinTabPainter.cs](./CS/WindowsApplication1/Custom%20style/MySkinTabPainter.cs) (VB: [MySkinTabPainter.vb](./VB/WindowsApplication1/Custom%20style/MySkinTabPainter.vb))
25-
* [Form1.cs](./CS/WindowsApplication1/Form1.cs) (VB: [Form1.vb](./VB/WindowsApplication1/Form1.vb))
26-
<!-- feedback -->
27-
## Does this example address your development requirements/objectives?
28-
29-
[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-tab-control-custom-style&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-tab-control-custom-style&~~~was_helpful=no)
30-
31-
(you will be redirected to DevExpress.com to submit your response)
32-
<!-- feedback end -->
1+
<!-- default badges list -->
2+
![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/128619657/24.2.1%2B)
3+
[![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/E2775)
4+
[![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183)
5+
[![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)
6+
<!-- default badges end -->
7+
8+
# WinForms Tab Control - Create a custom style
9+
10+
This example demonstrates how to create a custom style to paint the WinForms Tab Control as needed:
11+
12+
```csharp
13+
public Form1() {
14+
InitializeComponent();
15+
PaintStyleCollection.DefaultPaintStyles.Add(new MyRegistrator());
16+
xtraTabControl1.PaintStyleName = "MyStyle";
17+
}
18+
```
19+
20+
21+
## Files to Review
22+
23+
* [MyRegistrator.cs](./CS/WindowsApplication1/Custom%20style/MyRegistrator.cs) (VB: [MyRegistrator.vb](./VB/WindowsApplication1/Custom%20style/MyRegistrator.vb))
24+
* [MySkinTabPainter.cs](./CS/WindowsApplication1/Custom%20style/MySkinTabPainter.cs) (VB: [MySkinTabPainter.vb](./VB/WindowsApplication1/Custom%20style/MySkinTabPainter.vb))
25+
* [Form1.cs](./CS/WindowsApplication1/Form1.cs) (VB: [Form1.vb](./VB/WindowsApplication1/Form1.vb))
26+
<!-- feedback -->
27+
## Does this example address your development requirements/objectives?
28+
29+
[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-tab-control-custom-style&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=winforms-tab-control-custom-style&~~~was_helpful=no)
30+
31+
(you will be redirected to DevExpress.com to submit your response)
32+
<!-- feedback end -->

0 commit comments

Comments
 (0)