Welcome to MSDN Blogs Sign in | Join | Help

Marcelo's WebLog

Improving the world one entity at a time

July 2005 - Posts

How to nest Avalon List items in a document?
List objects are containers for ListItem objects. ListItem objects, in turn, contain blocks, such as paragraphs or lists. So, to nest multiple lists, you can do something like this. <TextFlow xmlns='http://schemas.microsoft.com/winfx/avalon/2005' FontSize='16pt'> Read More...
Custom cursors in Avalon
So, how do you create a custom cursor in Avalon? The most straightforward way is to reference it from a file, but there are also constructor overloads that a Stream argument and an IntPtr argument (in case you have a raw handle). MyWindow.Cursor = new Read More...
Some notes on Avalon TextBox properties
The Avalon TextBox is an interesting control. Its purpose in life is to edit a string, as opposed to the rich, formatted text editing capabilities of the RichTextBox . One aspect in which the difference can be clearly seen is in the type of objects that Read More...
Assonant Announcement About Avalon Adorners Article
Henry has posted a sample on Adorners, showing how to create and use them, and how to leverage the power of Avalon styling to make them look good with a couple of XML lines. http://blogs.msdn.com/henryh/archive/2005/07/19/440854.aspx Read More...
Finding matches in unsorted collections (or: how to find pairs of socks efficiently)
I was sorting through my clothes after taking them out of the drier today, and I realized that over time I've naturally come up with a strategy to optimize my work. The problem is as follows: given an unordered collection of elements (socks), find the Read More...
Combining marks and interesting effects
I'm planning to blog about some of the challenges involved in creating a world-class text editor, but first I'd like to talk a bit about an interesting set of Unicode characters - combining marks . These characters, like their name suggest, combine with Read More...
Page view tracker