Volunteer .NET Evangelist

A well oiled machine can’t run efficiently, if you grease it with water.
  首页  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  Avalon

摘要:1. Declare array object in xaml:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<Pagexmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentati... 阅读全文

posted @ 2006-10-03 15:18 Sheva 阅读(1783) 评论(2) 推荐(0)

摘要:Just paste the following xaml into the XamlPad shipped with Microsoft Windows SDK or the XamlPad I create myself, you will get some unexpected surprise, really cool indeed:Code highlighting produced b... 阅读全文

posted @ 2006-09-26 20:54 Sheva 阅读(991) 评论(1) 推荐(0)

摘要:Some one pointed out on MSDN WPF forum post that FindName breaks on DataTemplate, when we want to reference the visual elements inside the data template, we cannot use FindName, then what we can use? ... 阅读全文

posted @ 2006-09-23 23:05 Sheva 阅读(3176) 评论(2) 推荐(0)

摘要:When we want to declaratively use our custom controls or reference the types we defined in XAML, we should declare the XML namespace to map to the CLR namespace in which the controls and types are def... 阅读全文

posted @ 2006-08-28 23:37 Sheva 阅读(3752) 评论(2) 推荐(2)

摘要:Recently, I am tied up writing a custom WPF control called FolderPicker, and I come to the scenario that when I update the data source, I want to let the UI thread to update the control UI, basically,... 阅读全文

posted @ 2006-08-24 23:56 Sheva 阅读(22788) 评论(2) 推荐(0)

摘要:Several days ago, Dflying Chen just shown us how to implement in-place editing functionality using ASP.NET Atlas framework, and the custom control he writes called InPlaceEditingInput is pretty cool i... 阅读全文

posted @ 2006-04-27 23:03 Sheva 阅读(3876) 评论(6) 推荐(0)

摘要:Data binding is a very important feature in every development platform, for all of you who have been using the data binding mechanism of ASP.NET, you must think that data binding in ASP.NET is qui... 阅读全文

posted @ 2006-04-06 00:33 Sheva 阅读(3174) 评论(0) 推荐(0)

摘要:In my previous blog post, I've mentioned that I have built a simple AvalonPaint application in which you can draw contineuous lines using mouse, and after some work, I add several features into th... 阅读全文

posted @ 2006-03-02 23:41 Sheva 阅读(1317) 评论(1) 推荐(0)

摘要:For all of you who follow up my blog closely, you will probably remember that I have written a little application in which you can edit your xaml snippet and have that sinppet executed in real tim... 阅读全文

posted @ 2006-02-28 23:26 Sheva 阅读(2566) 评论(3) 推荐(0)

摘要:Crossbow, OMG, WTF? Well, Crossbow is the codename for the interoperability technology between Windows Forms and Windows Presentation Foundation. Crossbow enables you to host Windows Forms cont... 阅读全文

posted @ 2006-02-28 01:37 Sheva 阅读(5394) 评论(2) 推荐(0)

摘要:Chris Anderson, the chief architect of Avalon, has shown on Channel9 Video talking about the architecture of Avalon, and he used the classic block diagram to illustrate how the UI is rendered fr... 阅读全文

posted @ 2006-02-23 21:35 Sheva 阅读(2328) 评论(9) 推荐(0)

摘要:In WPF, it ships with three built-in BitmapEffect classes, namely DropShadowBitmapEffect, OuterGlowBitmapEffect and BlurBitmapEffect, you can think of those bitmap effects as those available in IE... 阅读全文

posted @ 2006-02-23 00:32 Sheva 阅读(2749) 评论(1) 推荐(0)

摘要:If you have been dabbling with any CTP release of WINFX SDK, you probably have been irritated by the unstability of the XamlPad.exe which is shipped with the SDK. the XamlPad.exe crashes regularly... 阅读全文

posted @ 2006-02-21 19:49 Sheva 阅读(4584) 评论(8) 推荐(0)

摘要:In my last blog entry, I talked about the Avalon brushes and RadialGradientBrush in particular. In this episode, I am gonna talk about pen in Avalon, pen as its name indicates can be used to paint... 阅读全文

posted @ 2006-02-20 23:19 Sheva 阅读(1587) 评论(0) 推荐(0)

摘要:Brush as its name indicates can be used to paint the texture and chrome of a specified ContentElement or UIElement, Avalon comes with tons of different Brushes, one of which called RadialGradientB... 阅读全文

posted @ 2006-02-19 14:16 Sheva 阅读(1618) 评论(2) 推荐(0)

摘要:I've been playing with several CTP releases of Windows Presentation Foundation a.k.a Avalon, I have to say I am just so excited by the flexibility and powerfulness of this platform. In Avalon, It'... 阅读全文

posted @ 2006-02-19 00:18 Sheva 阅读(2572) 评论(2) 推荐(1)

摘要:Tim Sneath who is a Windows Vista Technical Evangelist just points out in his blog the availability of twelve WPF hands-on labs, those labs focus on the following important WPF concepts: Building a ... 阅读全文

posted @ 2006-01-27 21:43 Sheva 阅读(375) 评论(0) 推荐(0)

摘要:After playing for a while with the January CTP release of Windows Presentation Foundation, formerly known as Avalon, I write a simple application with which you can draw the lines continuously usi... 阅读全文

posted @ 2006-01-27 21:31 Sheva 阅读(2316) 评论(2) 推荐(0)