06 2010 档案

转 给WPF加上格子
摘要:显示效果:XAML代码:<Canvas Width="752.009766" Height="1192.558594" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Canvas.R... 阅读全文

posted @ 2010-06-28 11:10 chuncn 阅读(560) 评论(0) 推荐(0) 编辑

转 未来的GDI:WPF技术纵览
摘要:现在,Windows Presentation Foundation(WPF)这个名词已经不再新鲜,至少对很多关注前沿技术的开始人员而是这样的。Windows Vista已经正式发布,新的开发平台.NET Framework 3.0也开始逐步进入到人们的视野之中,并得到了更多的焦点。    作为下一代的图形系统,WPF所带来的新概念、新的技术也相当的庞大、复杂。现在,在.NET相关领域的开发中,用... 阅读全文

posted @ 2010-06-28 10:47 chuncn 阅读(930) 评论(0) 推荐(0) 编辑

Silverlight的组合键、快捷键(热键)调用方法
摘要:在Silverlight2.0、Silverlight3.0、Silverlight 4.0版本中实现组合键、快捷键(热键)是非常简单的。但是由于Silverlight是运行于IE之中,所以很多组合键、快捷键(热键)都被IE占用,很遗憾目前还没有阻止IE的方案。我们只能使用有限的组合键、快捷键(热键),以下是使用方法:void MainPage_KeyDown(object sender, Key... 阅读全文

posted @ 2010-06-17 16:32 chuncn 阅读(426) 评论(0) 推荐(0) 编辑

Behaviors and Subclassing in Silverlight4
摘要:using System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using Sys... 阅读全文

posted @ 2010-06-05 13:44 chuncn 阅读(305) 评论(0) 推荐(0) 编辑

Silverlight4中DataGrid全选与单选的实现
摘要:全选/取消:<UserControl x:Class="SilverlightApplication1.MainPage2" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http... 阅读全文

posted @ 2010-06-05 12:26 chuncn 阅读(1016) 评论(0) 推荐(0) 编辑

silverlight4中grid、canvas上拖放控件总结
摘要:Grid上拖动控件:<UserControl x:Class="SilverlightApplication2.SilverlightControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"... 阅读全文

posted @ 2010-06-04 14:21 chuncn 阅读(730) 评论(0) 推荐(0) 编辑

A Rotating Wireframe Cube--silverilght4简易魔方
摘要:<UserControl x:Class="SilverlightApplication1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://sche... 阅读全文

posted @ 2010-06-01 18:22 chuncn 编辑

导航