windows-phone-7 – WP7 PanoramaItem,标题旁边有图标/按钮
发布时间:2020-12-14 05:46:15 所属栏目:Windows 来源:网络整理
导读:Windows Phone 7的People中心有一个“全部”全景项目,其中包含“搜索”和标题/标题旁边的“新”按钮. 我似乎无法使用标准的Panorama控件在Visual Studio中使用PanoramaItem完成此操作.我不知道Silverlight / WPF能够手动定位并正确控制转换/移动. 如何设置一
Windows Phone 7的People中心有一个“全部”全景项目,其中包含“搜索”和标题/标题旁边的“新”按钮.
我似乎无法使用标准的Panorama控件在Visual Studio中使用PanoramaItem完成此操作.我不知道Silverlight / WPF能够手动定位并正确控制转换/移动. 如何设置一个按钮(或任何对象)以及wp7 PanoramaItem的标题? 谢谢! 解决方法
PanoramaItem标头不必是字符串.它可能是另一个StackPanel,如果你想要的话,它有一个CheckBox,如下所示:
<controls:PanoramaItem> <controls:PanoramaItem.Header> <StackPanel Orientation="Horizontal"> <TextBlock>Item</TextBlock> <CheckBox>CheckBox</CheckBox> </StackPanel> </controls:PanoramaItem.Header> <Grid> <TextBlock>Your Content</TextBlock> </Grid> </controls:PanoramaItem> 所以你基本上可以在那里放任何你想要的东西.图像,按钮,复选框等 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows – 锁定屏幕不记得用户名
- windows-phone-7 – Windows Phone 7样本
- 快速更改巨大目录树的Windows权限?
- Windows“iowait”CPU利用率报告
- freenas 实现内网smb共享,传输速度达到2G
- windows-server-2008-r2 – 神秘的带宽限制
- Windows – Office 2010中的VBA套接字连接
- 是否可以在Windows和Linux之间共享PostgreSQL数据库?
- WIN10安装office2003/7失败 WIN10安装office2003权限不足解
- windows-phone-8 – 如何在Windows Phone 8上扩展Internet