M
M
Morrowind2021-11-18 21:08:47
C++ / C#
Morrowind, 2021-11-18 21:08:47

How to change color of TabControl in Winform?

Hey!
Can you tell me if it is possible to change the color of the bookmark itself in the TabControl ?
Unfortunately, all properties break and the collection editor did not find where you can change the color.
I found the usual BackgColor , but alas, it changes the color inside the field, and not the " tongue " for it.

6196965d134a8517493872.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HemulGM, 2021-11-18
@hekkaaa

The OS itself is responsible for rendering standard controls in WinForms. As she wants, she will draw. You can influence minimally how controls will be displayed.
To change the rendering style, you need to use hooks (this is difficult, expensive and often very crooked from version to version).
If you want to style everything yourself - use independent frameworks. For example WPF (if we are talking about sharp).
Well, in WinForms you can find a control created by someone that lends itself to styling or write your own (which is also expensive, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question