WPF Documents – Indenting Paragraphs

As I promised, this is a post about what I learned while creating a flow document that had indented paragraphs. The hierarchy was dynamically built based on the data. The first thing I noticed is that indenting a paragraph is very easy, just set the left margin of the paragraph and the entire paragraph will…

3

WPF FlowDocuments – What, When, Why, How?

As I learn more and more about WPF, I am continually amazed at how much I don’t know. I recently discovered FlowDocuments (look here for more info on the basics of FlowDocuments) and how wonderful they are. Okay, I knew about them a little, but I ignored them because I didn’t think you could do very…

2

WPF – A Stretching TreeView

What is a stretching treeView? Recently, I found the need to have a TreeView in my WPF application that was only a few levels deep. I didn’t want a horizontal scrollbar to appear and I wanted the long text nodes to wrap. So, I invented the StretchingTreeView control. Why couldn’t I do this with a…

2

Exploring WPF – Programmatically scrolling a treeview

Another one of the newest technologies released by Microsoft is WPF (Windows Presentation Foundation). This is a completely new way of thinking about User Interfaces. One of the things that I find the most interesting is the way that complex controls are created in WPF. Let’s take a quick look at the TreeView control in…

2