DataGridView 中的文本方向
我在 RadGridView 中的项目中使用 telerik WinForms 组件
(从右到左):
https://i.sstatic.net /8j0Us.png
它显示 0001-9999 而不是 9999-0001
我该如何解决这个问题?
I use telerik WinForms Components for my project
in RadGridView (Right to Left) :
https://i.sstatic.net/8j0Us.png
It Show 0001-9999 Instead of 9999-0001
How can i solve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我在 RightToLeft 属性设置为 true 的 WinForms RadGridView 上尝试此操作时,我没有看到数字像您的示例中那样翻转。
但是,您可以将 RadGridView RightToLeft 属性设置为 true,但更改一列的 RightToLeft 属性在单元格格式化事件中。
当 ID 列单元格的 RightToLeft 属性设置为 false 时,您可以看到差异。
When I tried this on a WinForms RadGridView which has the RightToLeft property set to true, I did not see the number flipped like in your example.
However, you can set the RadGridView RightToLeft property to true, but change the RightToLeft property for one column in the CellFormatting event.
You can see the difference when the ID column cells have the RightToLeft property set to false.