Autor Beitrag
erfahrener Neuling
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 233
Erhaltene Danke: 19

Win 7, Win 10
C#, ASP-MVC (VS 2017 Community), MS SQL, Firebird SQL
BeitragVerfasst: Di 26.04.16 10:27 
Hallo,

kennt jemand das default-(System)Brush für den ColumnHeader eines ListViews? Oder wie man darauf zugreifen bzw. es herausfinden kann? Bin mit Google nicht fündig geworden.

Danke!
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4805
Erhaltene Danke: 1061

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Di 26.04.16 11:02 
Du kannst einfach DrawBackground aufrufen, und danach dann deinen Header-Text darüber zeichnen (ListView TextAlign der 1. Spalte + Einträge).

Für diesen Beitrag haben gedankt: erfahrener Neuling
erfahrener Neuling Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 233
Erhaltene Danke: 19

Win 7, Win 10
C#, ASP-MVC (VS 2017 Community), MS SQL, Firebird SQL
BeitragVerfasst: Di 26.04.16 11:37 
Danke genau das brauchte ich :)