在 Windows 8 Metro 应用程序 (C#/XAML) 中创建表 (DataGrid) [英] Create a table (DataGrid) in Windows 8 metro apps (C#/XAML)

查看:17
本文介绍了在 Windows 8 Metro 应用程序 (C#/XAML) 中创建表 (DataGrid)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个这样的表:

I'm trying to create a table like this:

如何使用 ListView 或 GridView 执行类似操作?我找不到添加表格标题的正确方法..

How can I do something like that using ListView or GridView? I couldnt find the right way to add the headers of the table..

推荐答案

我在我的免费库中实现了一个 DataGrid 控件(带有排序、详细信息视图和导航事件):

I implemented a DataGrid control (with sorting, details view and navigate event) in my free library:

https://github.com/MyToolkit/MyToolkit/wiki/DataGrid

WinRT (Windows 8.1):

通用 Windows 应用(Windows 10):

这篇关于在 Windows 8 Metro 应用程序 (C#/XAML) 中创建表 (DataGrid)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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