I have enabled both horizontal and vertical gridlines. When drawing, the DrawContext.Bounds includes the top grlidline. So to get the "real" client area excluding the gridlines, I had to y-1, width-1, height-1.
When using default text node, the text is displayed slightly above than ListView.
When selecting a node (I have enabled FullRowSelection), the blue selection overwrites the top gridline. When doing the same thing, ListView's blue selection fit inside the gridlines and did not overwrite any of the gridlines.
I think it needs to be fixed to draw one pixel lower.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have enabled both horizontal and vertical gridlines. When drawing, the
DrawContext.Bounds
includes the top grlidline. So to get the "real" client area excluding the gridlines, I had to y-1, width-1, height-1.When using default text node, the text is displayed slightly above than ListView.
When selecting a node (I have enabled
FullRowSelection
), the blue selection overwrites the top gridline. When doing the same thing, ListView's blue selection fit inside the gridlines and did not overwrite any of the gridlines.I think it needs to be fixed to draw one pixel lower.