In this episode, Eric asks us to replace space count with spaces:--------------------------------------------------------------------------------Given a string with embedded space counts:<15sp>Indented by 15 spacesReplace the <<count&
Brush as its name indicates can be used to paintthe texture and chrome of a specified ContentElement or UIElement, Avaloncomes with tons of different Brushes, one of which calledRadialGradientBrush is what I want to demonstrate in the following
With the .NET Framework 2.0, there is a great number of improvements to the Base Class Library, one big improvement is that when you want to parse a string input into any other primitive value type(except Enum), you can use the TryParse instead
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 the outline of a specified UIElement or
Channel9 just released a new video clip featuring the life and times of Anders Hejlsberg, who is the chief architect and designer of C# programming language, and also a key participant in the development of Microsoft.Net Framework. Throughout
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 from the top layer down the road to the
Eric Gunnerson has come up with a great number of excellent regular expression exercises in his personal blog, and I will keep my blog sync with his whenever a new exercise is introduced there. In this episode, the exercise is to remove font
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 control in your WPF application, and vice versa. In
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 time, and this is what exactly the XamlPad.exe which
In this exercise, Eric asks us to replace all html tag names with uppercase equivalent. My answer is based on Maurits' suggestion, that is to say using MatchEvaluator. MatchEvaluator enables you to perform custom verification and manipulation
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 using mouse, the XAML code and corresponding C#
After a long break, Eric is back, and continue his awesome Regex 101 Exercise series, in this exercise, the question Eric asks is:-------------------------------------------------------------------------------------------------Given a string
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 on my machine because of some unhandled peculiar
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 this application, the current version of
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 CSS, actually both of them do exactly the same
Regex 101 Exercise I10 - Extract repeating hex blocks from a stringGiven the string:PCORR:BLOCK=V5CCH,IA=H'22EF&H'2354&H'4BD4&H'4C4B&H'4D52&H'4DC9;Extract all the hex numbers in the form “H’xxxx”-----------------------------------