开发者

TreeView Alignment

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜