Compartilhar via


System.Windows.Documents Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Contains types that support basic document concepts in Silverlight.

Classes

  Class Description
Public class Block An abstract class that provides a base for all block-level content elements.
Public class BlockCollection Represents a collection of Block elements.
Public class Bold Provides an inline-level content element that causes content to render with a bold font weight.
Public class FontSource Represents one or more fonts created from a stream.
Public class Glyphs Provides a visual representation of letters, characters, or symbols, in a specific font and style.
Public class Hyperlink Provides an inline-level content element that provides facilities for hosting hyperlinks.
Public class Inline Provides a base for inline flow content element behavior.
Public class InlineCollection Represents a collection of Inline elements.
Public class InlineUIContainer Provides an inline content element that enables UIElement types to be embedded in content.
Public class Italic Provides an inline-level flow content element that causes content to render with an italic font style.
Public class LineBreak Represents an inline element that causes a new line to begin in content when rendered in a text container.
Public class Paragraph Provides a block-level content element that is used to group content into a paragraph.
Public class Run Represents a discrete section of formatted or unformatted text.
Public class Section A block-level element used for grouping other Block elements.
Public class Span Groups other Inline content elements.
Public class TextElement An abstract class used as the base class for the abstract Block and Inline classes.
Public class TextElementCollection<T> Provides standard facilities for creating and managing a type-safe, ordered collection of TextElement objects.
Public class TextPointer Represents a position within a RichTextBox.
Public class TextSelection Encapsulates the selection state for the RichTextBox control.
Public class Typography Provides access to a rich set of OpenType typography properties. This class cannot be inherited.
Public class Underline Provides an inline-level content element that causes content to render with an underlined text decoration.

Enumerations

  Enumeration Description
Public enumeration LogicalDirection Specifies a logical direction in which to perform certain text operations, such as inserting, retrieving, or navigating through text relative to a specified position (a TextPointer).

See Also

Reference

Other Resources