• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
wangrenzhu
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

随笔分类 -  XAML

 
手把手教你 用 wpf 制作metro ProgressRing (Windows8 等待动画)
摘要:效果图:还在羡慕metro的ProgressRing吗?wpf 也可以拥有首先说下思路,一共6个点围绕一直圆转,所以需要使用rotation动画 并且一直转下去。那么下面的问题就好解决了。首先是xaml 部分我们需要实现旋转动画:所以要用到这个:<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Ellipse.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"> <LinearDoubleKe... 阅读全文
posted @ 2012-07-03 16:52 wangrenzhu 阅读(496) 评论(0) 推荐(0)
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part7
摘要:本开源项目svn 地址 如需加入开发或者有其他疑问请在博客留言svn://www.oksvn.com/Timeline/Win8 metro开发者联盟群号:195314253欢迎win8开发者 或对win8 开发感兴趣的 有志之士加入 阅读全文
posted @ 2012-05-25 15:47 wangrenzhu 阅读(201) 评论(0) 推荐(0)
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) ... 阅读全文
posted @ 2012-05-24 16:57 wangrenzhu 阅读(265) 评论(0) 推荐(0)
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part5
摘要:可使用多种方式将事件(UserControl 或Window或其他UIElement)内容呈现 以下是2个例子:视频方式:<UserControl xmlns:s="http://schemas.microsoft.com/surface/2008" x:Class="Transvalue.Timeline.EventVideoControlItem" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://sc 阅读全文
posted @ 2012-05-24 16:55 wangrenzhu 阅读(247) 评论(0) 推荐(0)
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part4
摘要:然后是一些杂七杂八的 枚举类啊 模型啊什么的。事件项xaml:<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schema... 阅读全文
posted @ 2012-05-24 16:51 wangrenzhu 阅读(229) 评论(0) 推荐(0)
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part3
摘要:坐标轴xaml:<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.... 阅读全文
posted @ 2012-05-24 16:49 wangrenzhu 阅读(198) 评论(0) 推荐(0)
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part2
摘要:先来张效果图,然后继续贴轴控件xaml :<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="http://schemas.microsoft.com/surface/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/ 阅读全文
posted @ 2012-05-24 16:46 wangrenzhu 阅读(201) 评论(0) 推荐(0)
wpf+.net 4.5 surface2.0 = 异步多点触控 时间轴 part1
摘要:直接贴代码 废话不多说了。运行环境 vs11 beta framework4.5surface runtime surface sdk 2.0多点触控模拟器 multitouchVista 或多点触控设备源码请关注我的资源下载功能说明: 多点触控时间轴,事件可缩放 旋转 多点同时操作 放大缩小等,时间范围0001-9980年 定位精确到天 时间轴数据加载格式如下:<?xml version="1.0" encoding="utf-8" ?><data> <event imgUrl="Sample_Photos&qu 阅读全文
posted @ 2012-05-24 16:44 wangrenzhu 阅读(242) 评论(0) 推荐(0)
图片循环播放器。WPF制作 以下为代码
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using Syst 阅读全文
posted @ 2012-03-22 17:43 wangrenzhu 阅读(510) 评论(0) 推荐(1)
自定义事件和参数。详细版。。。
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using Syst 阅读全文
posted @ 2012-03-22 15:39 wangrenzhu 阅读(334) 评论(0) 推荐(0)
WPF 悬浮键盘
摘要:public class TouchScreenKeyboard : Window { #region Property & Variable & Constructor private static double _WidthTouchKeyboard = 830; public static double WidthTouchKeyboard { get { return _WidthTouchKeyboard; } set { _WidthTouchKeyboa... 阅读全文
posted @ 2012-03-22 10:30 wangrenzhu 阅读(249) 评论(0) 推荐(0)
近期项目作品展示 WPF 制作客户端
摘要:WPF制作:果图如下。以上为部分效果图。。后期将把程序demo上传 请关注我的blog 阅读全文
posted @ 2012-03-22 10:25 wangrenzhu 阅读(215) 评论(0) 推荐(0)
WPF 模板中的控件修改
摘要:模板:<ControlTemplate x:Key="HomeBtnNewTemplate" TargetType="{x:Type Button}"> <Grid Width="{TemplateBinding Width}" Background="{TemplateBinding Background}" Height="{TemplateBinding Height}" ClipToBounds="True"> <Rectangle x: 阅读全文
posted @ 2012-03-22 10:19 wangrenzhu 阅读(552) 评论(0) 推荐(0)
透明BUTTON 模板 WPF
摘要:<ControlTemplate x:Key="NavTemp" TargetType="{x:Type Button}"> <Grid Width="{TemplateBinding Width}" Background="{TemplateBinding Background}" Height="80" ClipToBounds="True"> <Label Content="{TemplateBinding Content}&qu 阅读全文
posted @ 2012-03-22 09:57 wangrenzhu 阅读(289) 评论(0) 推荐(0)
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3