Block Elements

posted 2007-04-09

Unlike Inline elements, Block elements take up the entire width of the text column and have line breaks before and after their content. By far, the most common block element is Paragraph.

Here are the elements that shipped with WPF that derive from Block:

Additionally, there are a few helper classes that are a bit block-ish:

Just like the inline elements, all of these elements do not derive from UIElement or Visual -- this is because they do not have a one-to-one mapping between their content and visuals on screen. The reasons for this, and their ramifications, will have to wait for the next post.

Differences from HTML