WPF/Silverlight Tree - 如何使树中的所有节点对齐?
我必须如何处理 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我对 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.