开发者

TreeView Alignment

开发者 https://www.devze.com 2023-03-26 17:33 出处:网络
i have a TreeView in my application . I want to displa开发者_如何转开发y the nodes like following

i have a TreeView in my application . I want to displa开发者_如何转开发y the nodes like following

TreeView Alignment

But the String Sample Title One0 May vary. But the alignment of Raj remains same like in the image. How can i achieve this.

I tried myString.PadRight(100-string.length, ' ') But the alignment is scattered. If any other solution is there please share..


If you haven't done this already, you will need to set TreeView to use a non-proportional font like Consolas, instead of the default Sans Serif.

0

精彩评论

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