i have a TreeView in my application . I want to display the nodes like following
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..
如果尚未执行此操作,则需要将TreeView设置为使用Consolas之类的非比例字体,而不是默认的Sans Serif 。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.