Cannot change ListView first column text alignment

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I try to change the text alignment of the first column of a list view, ColumnHeader.TextAlign but seems it doesn't work. The first column is always default to left alignment, which is HorizontalAlignment.Left. I even try to insert the column in design time and set the column alignment to either center or right, but still the text displayed is left-aligned. Is this a known issue or bug?

thanks,
Woon Kiat
 
* =?Utf-8?B?V29vbiBLaWF0?= said:
I try to change the text alignment of the first column of a list view,
ColumnHeader.TextAlign but seems it doesn't work. The first column is
always default to left alignment, which is HorizontalAlignment.Left. I
even try to insert the column in design time and set the column
alignment to either center or right, but still the text displayed is
left-aligned. Is this a known issue or bug?

This is "by design".
 
Read this:
http://groups.google.se/groups?ie=U...Aye#[email protected]&lr=&hl=sv

/claes

Woon Kiat said:
I try to change the text alignment of the first column of a list view,
ColumnHeader.TextAlign but seems it doesn't work. The first column is always
default to left alignment, which is HorizontalAlignment.Left. I even try to
insert the column in design time and set the column alignment to either
center or right, but still the text displayed is left-aligned. Is this a
known issue or bug?
 
Back
Top