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> ...
随机推荐
- PHP程序员如何突破成长瓶颈(php开发三到四年)
看了这篇博文,我正好处于这个阶段,也有心要突破自己,呵呵! 作为Web开发中应用最广泛的语言之一,PHP有着大量的粉丝,那么你是一名优秀的程序员吗?在进行自我修炼的同时,你是否想过面对各种各样的问题, ...
- 如何区分SNAT和DNAT
从定义来讲它们一个是源地址转换,一个是目标地址转换.都是地址转换的功能,将私有地址转换为公网地址.要区分这两个功能可以简单的由连接发起者是谁来区分: 内部地址要访问公网上的服务时(如web ...
- 转帖:如何建立与使用 Window setup project
原文地址: http://www.codeproject.com/Articles/12548/Visual-Studio-Windows-Application-Setup-Project
- 《Head First Servlet JSP》学习笔记二
一. 二. 三. 四. 五. 六. 七. 八. 九. 十. 十一. 十二.
- 如何使用参数 appActivity+appPackage 和 app
本文针对RobotFrameWork中AppiumLibrary测试库. 首先,Open Application 这个方法不能向手机中安装应用,需要提前在手机中安装好,如使用 adb install ...
- svn上传报Authorization failed错误解决办法
svn上传文件时没有弹出用户登录界面,而是直接报Authorization failed错误.出现该问题基本都是三个配置文件的问题,下面把这个文件列出来 svnserve.conf配置文件中的 [ge ...
- FastReport 使用说明
FastReport TfrxReport 此为最主要的报表元件,一个 TfrxReport 元件组成一份报表.在设计时期,双击此 元件可打开报表设计器(Report Designer),此元件拥有所 ...
- MPlayer-2016-bin-noConsole
运行 Install-RMenu.cmd 添加右键播放功能 ; 往前0.05秒 大概10多个帧 ' 往后0.05秒 大概10多个帧 鼠标右键 快速定位 鼠标中键 退出 F1 缩小 F2 原始大小 F3 ...
- asp.net中获取当前url的方法
HttpContext.Current.Request.Url.ToString() 并不可靠. 如果当前URL为 http://localhost/search.aspx?user=http://c ...
- codeforces 556C. Case of Matryoshkas 解题报告
题目链接:http://codeforces.com/contest/556/problem/C 题目意思:有 n 个数(1,2,...,n)组成 k 条链.第 i 条链由 mi 个数组成.每一秒只可 ...