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> ...
随机推荐
- django xadmin 插件(3) 列表视图新增自定义按钮
效果图: 编辑按钮是默认的list_editable属性对应的插件(xadmin.plugins.editable) 放大按钮对应的是自定义插件. 自定义按钮源码: xplugin.py(保证能够直接 ...
- ndk学习8: 编译动态库
目录: 手工编译动态库 ndk-build编译动态库(Eclipse环境) 手工编译静态库 老规矩还是先手工操作,知其然并知其所以然 需要用到的核心命令: gcc -g -c -fpic -W ...
- Git索引
原文: http://gitbook.liuhui998.com/7_4.html git中的索引(index)是一个存放了排好序的路径的二进制文件(通常是.git/index), 每一个条目都附带有 ...
- 深入理解学习Git工作流
http://blog.csdn.net/hongchangfirst/article/list/3 //可以看看 http://blog.csdn.net/hongchangfirst/articl ...
- [转]JVM内存堆布局图解分析
JAVA能够实现跨平台的一个根本原因,是定义了class文件的格式标准,凡是实现该标准的JVM都能够加载并解释该class文件,据此也可以知道,为啥Java语言的执行速度比C/C++语言执行的速度要慢 ...
- Different Ways to Add Parentheses
Given a string of numbers and operators, return all possible results from computing all the differen ...
- hadoop初识
搞什么东西之前,第一步是要知道What(是什么),然后是Why(为什么),最后才是How(怎么做).但很多开发的朋友在做了多年项目以后,都习惯是先How,然后What,最后才是Why,这样只会让自己变 ...
- ACL
http://man.chinaunix.net/linux/debian/debian_learning/ch01s04.html http://blog.csdn.net/xiangliangyu ...
- 禁止Linux用户登录方法
我们在做系统维护的时候,希望个别用户或者所有用户不能登录系统,保证系统在维护期间正常运行.这个时候我们就要禁止用户登录. 1.禁止个别用户登录.比如禁止lynn用户登录. passwd -l lynn ...
- nyoj_31
题目描述:五个数求最值. #include <iostream> #include <algorithm> using namespace std; int main(){ ] ...