Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #497

ListBox PaintHeaderBackground does not cover the full header cell

Status
Fixed
Fixed in
v26.6.5
Source discussion
https://forum.objo.dev/d/377-size-of-the-background-in-a-listbox-header
Last updated
2026-06-21

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

ListBox.PaintHeaderBackground receives a graphics context sized to the inset header content presenter rather than the full DataGrid header cell. Code that fills 0, 0, g.Width, g.Height therefore colours only part of the header, leaving the padded/sort-icon area unpainted.

Expected behaviour: custom header background painting should cover the whole header cell for the column.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.