如何使用c#wpf应用程序在数据网格中制作页脚?

问题描述:

您好,



我想在wpf应用程序中使用datagrid页脚中的金额或总金额,但我该怎么做?

请帮帮我。



先谢谢。



Ankit Agarwal

软件工程师

Hello,

I want to sum or total of amount in datagrid footer in wpf application but how can i do this?
Please help me.

Thanks in Advance.

Ankit Agarwal
Software Engineer

较新版本的DataGrid支持页脚 - WPF DataGrid页脚和聚合 [ ^ ]。



如果您使用的是旧版本,则可采用以下解决方法 - http://wpf.codeplex.com/discussions/36686 [ ^ ]。
The newer versions of the DataGrid support footers - WPF DataGrid footer and aggregates[^].

If you are using an older version, here is a workaround - http://wpf.codeplex.com/discussions/36686[^].