WPF
All things related to Windows Presentation Foundation.
I spent a little bit of time with this the other day, and I thought I'd pass the learnings on, in hopes it helps someone. This is the layout what I was trying to accomplish with WPF. In a section of my window, I wanted a bit of text at the top, and then
Read More...
Gorgeous text is something I have long been passionate about . This recent Engineering Windows 7 blog post talks about Windows 7 improvements in text rendering and typography. I love the variations on the Gabriola font, and the stuff they do with the
Read More...
Finally, the examples I mentioned on my last post about text . Let's take the WPF text rendering engine as my example of a text processor that's sophisticated enough to handle this correctly. First off, as explained in xml:lang Handling in XAML , the
Read More...
Windows Presentation Foundation (WPF) has recently had a refresh to its performance tools. You can read more about it on the What's New for Performance Profiling Tools for WPF post. The suite of tools includes a bunch of very interesting tools, one of
Read More...
Long on prose and short on code, this post just explores some patterns involving mutable/immutable objects in the .NET Framework (mutability from an external point-of-view, at least). The punch line comes at the end, for all of those interested in how
Read More...
One somewhat obscure feature of XamlPad is the ability to insert snippets in the text editor area. Right-clicking on this area shows a number of items you can insert, such as "Comment Selection" or "Multiline TextBox" (note that "Animated Background"
Read More...
I'll be leaving on vacations for a couple of weeks soon, so it's very unlikely that you'll see updates in that time frame here. Vacations are a good time to recharge batteries and spend time broadening horizons, which also helps connect dots sometimes...
Read More...
The Windows Performance Tools Kit is now shipping along with Windows SDK for Windows Server 2008 and .NET Framework 3.5 . A mouthful both, to be sure, but if you use either regularly it won't be long before they become just "xperf" and "the SDK". The
Read More...
Adam Root has posted a step-by-step post on how to enable nice preview images across windows when implementing drag and drop. I haven't written on the topic in a while, but it's turned out to be a very popular source of emails even today, so I'm sure
Read More...
The announcement is right here . ScottGu has a recap of the articles he's posted so far here . For those who fell like they can't wait for the download, the "What's New" page is available on MSDN here . As you can see, there's a lot of developer love
Read More...
How we get here I found myself wanting to have a nicer way of looking at a bunch of data I reference every now and then. Often I will whip up a quick HTML application to do this - it's ultimately a simple text file I can quickly edit and tweak, and the
Read More...
Also known as "how do I perform drag-drop between two data-bound list boxes"? Well, excellent question - here's a first shot at the answer, although there is much polish that could be added. This really isn't all that different from the series that was
Read More...
I always found the text layout on the DataColumn.Expression page a bit odd. So, in the spirit of my last post , I decided to go ahead and do something similar for it - here is a reformatted version, which will print out in columns and should fit on a
Read More...
So, I've been doing a bit of work with System.Reflection.Emit lately, and I've found that just having the list of the OpCodes fields around is pretty useful. I navigate to the page, but there are really a lot of opcodes, and I keep scrolling back and
Read More...
You can use the spell-checking functionality provided by the RichTextBox to quickly correct those pesky typos! Just navigate to something like the following, and you're done. <DockPanel xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation
Read More...