tags:

views:

76

answers:

0

Hi,

I have a user control having a Grid with a ListView. I have 4 columns and the width of all the columns is set to be as big as its content size. I have to change the background of my header to gray. Having done that all the 4 columns have the gray color but the space after the last column is having the default color.

How can I resolve this?

I tried a few approaches like making the last column's width same as ListView.ActualWidth-TotalWidthofRestofThe3Columns.

If I do this a Scrollbar appears even when there is no need of the scrollbar.

Can anybody help me with this?

related questions