开发者

C# How can I make the text in a ListView column right-align instead of left-align?

开发者 https://www.devze.com 2023-01-23 06:08 出处:网络
I have a ListView in details view so it has 2 columns - but with the text which populates the list, it is more important to see the end of the text instead of the beginning.Is there any way to set the

I have a ListView in details view so it has 2 columns - but with the text which populates the list, it is more important to see the end of the text instead of the beginning. Is there any way to set the开发者_如何学Go listview to show the right-side of the text by default (ie have the ... at the beginning instead of the end if the text is too large to fit within the column)?


There is a RightToLeft property on most controls which setting to true will change the alignment.

0

精彩评论

暂无评论...
验证码 换一张
取 消