wp8 入门到精通 仿QQPivot 提示数量
<Grid x:Name="LayoutRoot" Background="White">
<Grid Width="480" Height="320" VerticalAlignment="Top" Background="#FF2B579A">
<Grid Name="bgrid" Width="480" Height="200" VerticalAlignment="Bottom" Background="White" RenderTransformOrigin="0.5,0.5" Visibility="Visible">
<Grid.RenderTransform>
<CompositeTransform/>
</Grid.RenderTransform>
</Grid>
</Grid>
<phone:Pivot x:Name="pivot" Foreground="Black" Margin="0"
Style="{StaticResource DiaosbookPivotStyle}"
SelectionChanged="Pivot_SelectionChanged">
<phone:Pivot.Title>
<TextBlock Text="自定义Pivot样式" FontSize="22"/>
</phone:Pivot.Title>
<phone:PivotItem >
<phone:PivotItem.Header>
<Grid Width="136">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*"/>
<ColumnDefinition Width="36"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Text="啊啊" FontSize="50" Grid.Column="0"/>
<Rectangle RadiusX="3" RadiusY="3" Fill="White" Height="30" Width="36" Grid.Column="1" Grid.Row="0"
VerticalAlignment="Top"/>
<Rectangle RadiusX="3" RadiusY="3" Fill="Red" Height="28" Width="34" Grid.Column="1" Grid.Row="0"
VerticalAlignment="Top" Margin="0,1"/>
<TextBlock Text="999" FontSize="20" Height="30" Grid.Column="1" Grid.Row="0"
HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0"/>
</Grid>
</phone:PivotItem.Header>
<Grid>
<Rectangle Fill="Red" Margin="0"/>
</Grid>
</phone:PivotItem>
<phone:PivotItem>
<phone:PivotItem.Header>
<StackPanel Orientation="Horizontal" Width="100">
<TextBlock Text="哈哈" FontSize="50"/>
</StackPanel>
</phone:PivotItem.Header>
<Grid>
<Rectangle Fill="Yellow"/>
</Grid>
</phone:PivotItem>
<phone:PivotItem>
<phone:PivotItem.Header>
<StackPanel Orientation="Horizontal" Width="100">
<TextBlock Text="嘻嘻" FontSize="50"/>
</StackPanel>
</phone:PivotItem.Header>
<Grid>
<Rectangle Fill="Gray"/>
</Grid>
</phone:PivotItem>
<phone:PivotItem>
<phone:PivotItem.Header>
<StackPanel Orientation="Horizontal" Width="100">
<TextBlock Text="呵呵" FontSize="50"/>
</StackPanel>
</phone:PivotItem.Header>
<Grid>
<Rectangle Fill="Green"/>
</Grid>
</phone:PivotItem>
<phone:PivotItem>
<phone:PivotItem.Header>
<StackPanel Orientation="Horizontal" Width="100">
<TextBlock Text="嘿嘿" FontSize="50"/>
</StackPanel>
</phone:PivotItem.Header>
<Grid>
<Rectangle Fill="Blue"/>
</Grid>
</phone:PivotItem>
</phone:Pivot>
</Grid>
wp8 入门到精通 仿QQPivot 提示数量的更多相关文章
- wp8 入门到精通 仿美拍评论黑白列表思路
static bool isbool = false; private void BindGameDelete() { Tile tile = new Tile(); List<Color> ...
- wp8 入门到精通 高仿微信发信息 键盘不消失
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> < ...
- wp8 入门到精通 虚拟标示符 设备ID
//获得设备虚拟标示符 wp8 public string GetWindowsLiveAnonymousID() { object anid = new object(); string anony ...
- wp8 入门到精通 抓包
抓包工具Fiddler的使用 Fiddler是一款免费且功能强大的数据包抓取软件.它通过代理的方式获取程序http通讯的数据.我们可以利用它来检测网页和服务器的交互情况.下面,我们以http://bl ...
- wp8 入门到精通 LINQ to SQL
http://msdn.microsoft.com/zh-cn/library/bb397924.aspx LINQ 查询操作中的类型关系 (C#) 使用一个人类发明快速检索的方法 // Northw ...
- wp8 入门到精通 生命周期
- wp8 入门到精通 定时更新瓷贴
public class ScheduledAgent : ScheduledTaskAgent { static ScheduledAgent() { Deployment.Current.Disp ...
- wp8 入门到精通 ImageCompress 图片压缩
//实例化选择器 PhotoChooserTask photoChooserTask = new PhotoChooserTask(); BitmapImage bimg; int newPixelW ...
- wp8 入门到精通 Gallery
<Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.Resources> ...
随机推荐
- Tomcat启动服务报错:Unknown version string [3.1]. Default version will be used.
用Intellij IDEA 部署Web项目,Tomcat启动后报错Unknown version string [3.1]. Default version will be used. 作者的问题出 ...
- 【System】shell 实现 bat 的pause功能
read -rsp $'Press enter to continue...\n' 参考资料: http://stackoverflow.com/questions/92802/what-is-the ...
- STL---总结
文章转自:http://www.cnblogs.com/biyeymyhjob/archive/2012/07/22/2603525.html 一.STL的六大组件 容器(Container),是一种 ...
- Linux下编译安装python3
Linux下默认系统自带python2.6的版本,这个版本被系统很多程序所依赖,所以不建议删除,如果使用最新的Python3那么我们知道编译安装源码包和系统默认包之间是没有任何影响的,所以可以安装py ...
- winrt 页面进入动画
private async void DoAnimistion(){Storyboard storyboard = new Storyboard(); using (IEnumerator<De ...
- CAD2010中文版安装问题记录
CAD2010中文版安装到简体中文语言包的时候提示[错误1606无法访问网络位置setup],直接打开cad2010 提示 [adui18res.dll not found]: 首先,进入注册表(re ...
- Greedy:Subsequence(POJ 3061)
和最短序列 题目大意:找出一个序列中比至少和S相等的最短子序列(连续的) 本来这道题可以二分法来做复杂度O(NlogN),也可以用一个类似于游标卡尺的方法O(N)来做 先来讲游标卡尺法: 因为子序 ...
- Mathematics:X-factor Chains(POJ 3421)
X链条 题目大意,从1到N,1 = X0, X1, X2, …, Xm = X中间可以分成很多数,另Xi < Xi+1 Xi 可以整除Xi+1 ,求最大长度m和m长度的链有多少条 思路: 很简单 ...
- WP8图片缩放功能实现
最近在学习WP8,想实现WP微信中查看图片时的放大缩小功能. 网上找了两个解决方案: 1 利用GestureListener 这个类在Microsoft.Phone.Controls.Toolkit中 ...
- 【leetcode】Binary Tree Postorder Traversal (hard) ☆
二叉树的后序遍历 用标记右子树vector的方法 vector<int> postorderTraversal(TreeNode *root) { vector<int> an ...