通用应用程序设计:如何使用这些控件 Pivot 或 panorama、Listview 或 Listbox? [英] Universal App design : how to use these controls Pivot or panorama ,Listview or Listbox?

查看:31
本文介绍了通用应用程序设计:如何使用这些控件 Pivot 或 panorama、Listview 或 Listbox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始开发通用应用.我已经在 Windows 8 商店应用程序中开发了应用程序,还开发了 Windows Phone 8 和 Windows Phone 8.1 (SilverLight) 应用程序.问题与 Windows 中的通用应用程序和在应用程序中创建的单一 UI 有关.共享文件夹.

I have just started to develop in universal app. I have developed app in Windows 8 store apps and also developing Windows Phone 8 and Windows Phone 8.1 (SilverLight) Apps. Question is related to universal app in Windows and Single UI which is created in App. Share folder.

1. 通用应用程序中是否有任何控件,例如 Pivotpanorama,就像 windows phone 8 和 windows phone 8.1 (silverlight) 一样?

1. Is there any control in universal app like Pivot or panorama as like windows phone 8 and windows phone 8.1 (silverlight) have ?

2.数据绑定列表视图或列表框哪个最好设计?

3.在c#中我们可以这样写

3. In c# we can write like

#if WINDOWS_APP
    welcometb.Text = "Welcome to Windows App";
#endif
#if WINDOWS_PHONE_APP
    welcometb.Text = "Welcome to Windows Phone App";
#endif

要获取哪个应用程序在那里,对于 XAMl,我们如何确定它是 windows 应用程序还是 windows Phone 应用程序

to get which app is there, for XAMl how can we determine that it is windows app and it is windows Phone app

推荐答案

1) 相当于一个中心应用.

1) The equivalent is a hub app.

在 Windows 应用商店项目中,布局就像一个枢轴,所有页面都同时打开.如果您将 Windows 平板电脑的屏幕尺寸/形状/方向与 Windows Phone 进行比较,则枢轴/全景布局没有意义.

In the Windows Store project the layout is like a pivot with all the pages open at once. If you think about the screen size/shape/orientation of a Windows tablet compared to a Windows Phone the pivot/panorama layouts don't make sense.

在手机项目中,布局或多或少与枢轴应用相同.

In the phone project the layout is the same as a pivot app more or less.

每个帖子我只能回答一个问题,所以我不能包括 2 & 的答案.3.

I can only answer one question per post, so I can't include the answers to 2 & 3.

这篇关于通用应用程序设计:如何使用这些控件 Pivot 或 panorama、Listview 或 Listbox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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