WPF/Silverlight Tree - 如何使树中的所有节点对齐?

发布于 2024-09-15 18:57:54 字数 146 浏览 1 评论 0原文

我必须如何处理 WPF/Silverlight 中的树才能使所有节点对齐到同一级别? 我的意思是我需要根和所有子项与屏幕左侧的距离相同。这可能吗? 实际上我正在使用 Telerik Silverlight RadTreeView。

欢迎任何帮助, 谢谢

What do I have to do with a Tree in WPF/Silverlight, to have all nodes aligned ar the same level?
I mean I need the root and all childs to be align at the same distance from the left side of the screen. Is that possible?
Actually I am using a Telerik Silverlight RadTreeView.

Any help is welcomed,
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南街九尾狐 2024-09-22 18:57:54

我对 Telerik 控件不太熟悉,但您可能需要做的是提供自定义 ControlTemplate。 本文包含有关自定义标准 WPF TreeView 的信息,这可能会帮助您开始了。

I'm not familiar with the Telerik control in particular, but what you'll probably need to do is provide a custom ControlTemplate. This article includes information on customizing the standard WPF TreeView, which may help get you started.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文