首发 手把手教你制作 Windows8 应用程序内部的 hubtile (动态瓷砖控件) MetroStyle
摘要:在metro 风格中 动态磁贴是他的精髓在wp7 的开发中 我们可以使用hubtile 来制作类似效果 但是在 win8 中并不具备这个功能,下面我们来通过扩展GridViewItem 来实现 PictureHubTile <GridViewItem x:Class="App1.HubTile" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml&quo
阅读全文
手把手教你 用 wpf 制作metro ProgressRing (Windows8 等待动画)
摘要:效果图:还在羡慕metro的ProgressRing吗?wpf 也可以拥有首先说下思路,一共6个点围绕一直圆转,所以需要使用rotation动画 并且一直转下去。那么下面的问题就好解决了。首先是xaml 部分我们需要实现旋转动画:所以要用到这个:<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Ellipse.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"> <LinearDoubleKe...
阅读全文
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part7
摘要:本开源项目svn 地址 如需加入开发或者有其他疑问请在博客留言svn://www.oksvn.com/Timeline/Win8 metro开发者联盟群号:195314253欢迎win8开发者 或对win8 开发感兴趣的 有志之士加入
阅读全文
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part6
摘要:最后是工具类用于扩展lambda 污染循环using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Data;
using System.Threading; namespace Transvalue.Timeline
{ public static class Pollute { public static int ToInt32(this string Value) ...
阅读全文