<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 提示数量的更多相关文章

  1. wp8 入门到精通 仿美拍评论黑白列表思路

    static bool isbool = false; private void BindGameDelete() { Tile tile = new Tile(); List<Color> ...

  2. wp8 入门到精通 高仿微信发信息 键盘不消失

    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> < ...

  3. wp8 入门到精通 虚拟标示符 设备ID

    //获得设备虚拟标示符 wp8 public string GetWindowsLiveAnonymousID() { object anid = new object(); string anony ...

  4. wp8 入门到精通 抓包

    抓包工具Fiddler的使用 Fiddler是一款免费且功能强大的数据包抓取软件.它通过代理的方式获取程序http通讯的数据.我们可以利用它来检测网页和服务器的交互情况.下面,我们以http://bl ...

  5. wp8 入门到精通 LINQ to SQL

    http://msdn.microsoft.com/zh-cn/library/bb397924.aspx LINQ 查询操作中的类型关系 (C#) 使用一个人类发明快速检索的方法 // Northw ...

  6. wp8 入门到精通 生命周期

  7. wp8 入门到精通 定时更新瓷贴

    public class ScheduledAgent : ScheduledTaskAgent { static ScheduledAgent() { Deployment.Current.Disp ...

  8. wp8 入门到精通 ImageCompress 图片压缩

    //实例化选择器 PhotoChooserTask photoChooserTask = new PhotoChooserTask(); BitmapImage bimg; int newPixelW ...

  9. wp8 入门到精通 Gallery

    <Grid x:Name="LayoutRoot" Background="Transparent"> <Grid.Resources> ...

随机推荐

  1. 转:ASP.NET 使用Ajax

    之前在Ajax初步理解中介绍了对Ajax的初步理解,本文将介绍在ASP.NET中如何方便使用Ajax,第一种当然是使用jQuery的ajax,功能强大而且操作简单方便,第二种是使用.NET封装好的Sc ...

  2. DevStack安装时报“download of get-pip.py failed”

    ref from : http://www.voidcn.com/blog/ldli8979/article/p-5005958.html 这个可能会有多种原因造成.网上搜了一下,有人说需要手动下载, ...

  3. cf219d

    树形dp #include <cstdio> #include <vector> using namespace std; #define D(x) const int INF ...

  4. C# 中的virtural和abstract

    一. Virtual 方法(虚方法) virtual 关键字用于在基类中修饰方法.virtual 的使用有两种情况: 1.在基类中定义了virtual方法,但是派生类中没有重写该虚方法,那么在对派生类 ...

  5. FFmpeg-20160428-snapshot-bin

    ESC 退出 0 进度条开关 1 屏幕原始大小 2 屏幕1/2大小 3 屏幕1/3大小 4 屏幕1/4大小 S 下一帧 [ -2秒 ] +2秒 ; -1秒 ' +1秒 下一个帧 -> -5秒 F ...

  6. winrt控件

    http://www.mindscapehq.com/products/metroelements 常见的翻书,相册,图表,时间组件 demo下载地址http://assets.mindscape.c ...

  7. Metro各种流转换

    Ibuffer转byte[] ,(int)buffer.Length); Byte[]转Ibuffer WindowsRuntimeBufferExtensions.AsBuffer(bytes,,b ...

  8. 【动态规划】简单背包问题II

    问题 B: [动态规划]简单背包问题II 时间限制: 1 Sec  内存限制: 64 MB提交: 21  解决: 14[提交][状态][讨论版] 题目描述 张琪曼:“为什么背包一定要完全装满呢?尽可能 ...

  9. codeforces 518B. Tanya and Postcard 解题报告

    题目链接:http://codeforces.com/problemset/problem/518/B 题目意思:给出字符串 s 和 t,如果 t 中有跟 s 完全相同的字母,数量等于或者多过 s,就 ...

  10. 【leetcode】Regular Expression Matching (hard) ★

    Implement regular expression matching with support for '.' and '*'. '.' Matches any single character ...