UWP应用程序 - 可滚动内容 [英] UWP app - scrollable content

查看:76
本文介绍了UWP应用程序 - 可滚动内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


在我的UWP应用程序中,我必须显示全年视图。所以基本上我必须在每个月(从1月到12月)在图像下面显示一些图像和文字。每个月的内容都是巨大的,因此用户应该能够垂直滚动以阅读每月
的内容,然后水平scrool以更改月份。 


我可以使用哪些控件用于在UWP应用程序中实现这一目标?是否有任何特定的控件可用于此UI行为。


提前致谢,


IamHuM

解决方案

嗨!


您可以使用此控件:Tabs and pivot。


有了这个,您可以每月定义每个标签,并在内容中定义图像。


垂直滚动时,您将更改标签(月份)并且您可以垂直滚动以阅读内容。


以下是链接:  https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/tabs-pivot?f = 255& MSPPError = -2147217396


如果它对你有好处,你能否将这个答案标记为你的问题的答案?


Hello all,

In my UWP application i have to display entire year view. So basically i have to display some images and text below the image for each month (from Jan to Dec). Content for each month is huge so user should be able to scroll vertically to read content for respective month and then scrool horizontally to change the month. 

Which controls i can use to achieve this in UWP app? Is there any specific control which i can use for this UI behavior.

Thanks in advance,

IamHuM

解决方案

Hi!

You can use this control : Tabs and pivot.

With this you can define each tabs per month and in the content you'll have the images.

When you scroll vertically you'll change the tabs (month) and you can scroll vertically in order to read the content.

Here is the link : https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/tabs-pivot?f=255&MSPPError=-2147217396

If it's good for you, can you mark this answer as answer of your question please?


这篇关于UWP应用程序 - 可滚动内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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