.NET控件替代TreeView [英] .NET control which substitute for TreeView

查看:59
本文介绍了.NET控件替代TreeView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发将在PDA(装有Windows 10的平板电脑)中运行的应用程序

I'm devloping a application program which will be run in the PDA(Tablet PC in which windows 10 is installed)

我有一些数据,这些数据是在Desktop程序的情况下在TreeView中表达的,

I have some data which was expressed in the TreeView in case of Desktop program like following

但是TreeView似乎不适用于Tablet PC的用户界面.

However the TreeView seems to be no good for user interface in Tablet PC.

所以我想用其他控件代替TreeView.

So I want to substitute TreeView with other control.

我认为表样式控件可能更好,但数据应显示为分层样式.

I think a table style control may be better but the data should be displayed as a hierarchical style.

我应该使用DataGrid吗?

Should I use DataGrid?

还有其他控制方法吗?

推荐答案

这取决于您如何显示数据,如果您希望显示分层数据,我认为TreeView仍然是最好的选择,我不知道您为什么说TreeView似乎不利于Tablet PC的用户界面. WPF模板允许您覆盖元素的样式,它可以样式化几乎所有内容.

This is depend on how do you display your data, if you want display hierarchical data, I think TreeView still is best option,  I don't know why you say the TreeView seems to be no good for user interface in Tablet PC.  WPF template allow you override the style of element, it allows styling of just about everything.

基本了解WPF中的树视图

自定义 TreeView 布局在 WPF

Custom TreeView Layout in WPF

WPF中的高级自定义TreeView布局

图树自定义布局 样式 WPF TreeView 控制

Graph Tree Custom Layout Style for WPF TreeView Control

最好的问候,

鲍勃


这篇关于.NET控件替代TreeView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆