如何在列表框中使字符保持对齐状态 [英] how to make characters left alignment in the Listbox
问题描述
所有
我正在进行Windows移动开发并制作帮助表单。我尝试使用ListBox来显示下面的一些项目
功能ShortCut
返回------------ ------ F5
关闭----------------- F6
下一页------------ Fn + N
问题是我做不到第二列中的字符,如快捷键F5,
F6,F7从同一位置开始,让我们说左对齐。然后它让页面看起来很好看。
不是很漂亮。
任何有关这方面的帮助都会非常感激。
all
i am doing a windows mobile development and making a help form. I try to use ListBox to show some items like below
Function ShortCut
Back------------------ F5
Close ----------------- F6
Next Page------------ Fn+N
The problem is i can't make the characters in the second column such as the shortcut key F5,
F6,F7 starting in the same position , let's say left alignment. Then it make the page looks
not really pretty.
Any help regarding this would be really appreciated.
推荐答案
请使用数据模板列表框
谢谢,
Bilaal
Please use a Data-template for the list box
Thanks,
Bilaal
这篇关于如何在列表框中使字符保持对齐状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!