Binding not working when drawing lines in datagrid columnheader

ساخت وبلاگ

Vote count: 0

I want to draw lines in the column header of a datagrid, using the following code. There are two ItemsControlwhich are both bound to a collection containing 18 Dates (first of every month). A converter calculates the position in the columnheader by the date, in order to place the controls in the columnheader.

The result is this: enter image description here

What I want, obviously, is to draw a red line over the black lines between the month names. It looks like that only every other line is drawn.

Has anyone an idea to solve this?

asked 50 secs ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : نویسنده : استخدام کار backsoft بازدید : 443 تاريخ : جمعه 27 اسفند 1395 ساعت: 23:13