[UWP]面板,如UWP应用程序中带有子控件的存折应用程序 [英] [UWP]Panel like passbook app with child controls in UWP app

查看:110
本文介绍了[UWP]面板,如UWP应用程序中带有子控件的存折应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一组viewmodel对象(比如ExpenseViewModel [])不同类型费用的集合(旅游,贷款,娱乐,家庭,办公室) 。每笔费用都有一些属性(花费的总金额,预计费用,最大限额等)来存储与各个费用相关的数据

I have a collection of viewmodel objects (say ExpenseViewModel[]) collection of different types of expenses (Travel, Loan, Entertainment, Home, Office). Each expense has some properties (total amount spent, projected expense, maximum limit etc) to store the data related to respective expense.

我想创建一个容器面板,如 passbook
iPhone的应用程序 。因此,所有五种费用类型都将显示为堆叠面板,当用户通过单击标题选择任何面板时,该重复面板将显示为
几乎全屏,其他面板将在屏幕底部向下推。类似于带有一些动画的iPhone存折应用程序。

I want to create a container panel like passbook app of iPhone. So all the five expense types will be shown like stacked panels and when user selects any panel by clicking on the header then that respetive panel will be visible almost full screen and other panel will be pushed down at the bottom of screen. Similar to iPhone passbook app with some animation.

如何创建这种容器面板,当用户选择它时,它将保存集合并显示面板?

How i can create such kind of container panel which will hold the collection and display the panel when user selects it?

提前致谢,

IamHuM

推荐答案

这样的控件通常称为 Expander Accordion 。有一个工作的UWP控制
就在这里
Such a control is generally called Expander or Accordion. There's a working UWP control right here.


这篇关于[UWP]面板,如UWP应用程序中带有子控件的存折应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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