<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. centos mysql 大量数据导入时1153 错误:1153 - Got a packet bigger than 'max_allowed_packet' bytes

    参考:http://stackoverflow.com/questions/93128/mysql-error-1153-got-a-packet-bigger-than-max-allowed-pa ...

  2. python list 的+、+=和extend操作

    据说后者在list很大的时候性能稍好. 于是测试了一把: import time def time_cost(func): def _time_cost(*args,**kw): t1=time.ti ...

  3. phpcms不显示验证码

    只需修改./caches/configs/system.php即可 1.本地域名如果是 http://localhost 如果所有的文件都在根目录下(例如apache下的htdocs或www),此时, ...

  4. 阿里云ecs云服务器安装wdcp控制面板教程

    以前就听说服务器非常的难,而且我也不懂代码,不懂英文,我怕自己学不会就买了一个月的.开始我都不知道啥样的服务器,还是我的一位哥们给我远程买的,他说这个镜像最稳定了. 服务器买好后我便开始研究,可是怎么 ...

  5. 【Networking】flannel,pipework,weave,udp,vxlan,ovs等资料

    Add Open vSwitch-based multitenant backend for use with OpenShift / Kubernetes:  https://github.com/ ...

  6. 【GoLang】GoLang UTF8 与 Unicode

    结论: 通用的UTF8编码可是Ken Thompson和Rob Pike共同发明的, 他们都是Go的作者. Go中rune对应unicode的码点, string只是UTF8编码.len(" ...

  7. css 图形,非常完美

    http://www.360doc.com/content/12/0327/13/8674_198243134.shtml

  8. 【leetcode】Maximal Rectangle

    Maximal Rectangle Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle conta ...

  9. c++转义字符、指针

    上篇博客的答案: 1: // DataTypeDemo.cpp : 定义控制台应用程序的入口点. 2: // 3:  4: #include "stdafx.h" 5: #incl ...

  10. 使用宏批量将多个csv文件转成excel文件

    在一个压缩文件中有100多个csv文件,要求要将此100多个csv文件转成excel文件,名字命名不变,有三种方式: 1. 傻不拉几的复制粘贴法 2. 一个一个打开csv文件,另存为xls文件,工作量 ...