System.Windows.Documents 命名空间

包含支持 FixedDocumentFlowDocument 和 XML 纸张规范 (XPS) 文档创建的类。 Contains types that support FixedDocument, FlowDocument, and XML Paper Specification (XPS) document creation.

Adorner

表示修饰 UIElementFrameworkElement 的抽象类。Abstract class that represents a FrameworkElement that decorates a UIElement.

AdornerDecorator

为可视化树中的子元素提供 AdornerLayerProvides an AdornerLayer for the child elements in the visual tree.

AdornerLayer

表示用于呈现装饰器的图面。Represents a surface for rendering adorners.

AnchoredBlock

Inline 元素提供基类的抽象类,这些元素用于将 Block 元素锚定到流内容。An abstract class that provides a base for Inline elements that are used to anchor Block elements to flow content.

Block

为所有块级别流内容元素提供基类的抽象类。An abstract class that provides a base for all block-level flow content elements.

BlockCollection

表示 Block 元素的集合。Represents a collection of Block elements. BlockCollection 定义 FlowDocumentSectionListItemTableCellFloaterFigure 元素允许的子内容。BlockCollection defines the allowable child content of the FlowDocument, Section, ListItem, TableCell, Floater, and Figure elements.

BlockUIContainer

一个块级别的流内容元素使 UIElement 元素(例如,Button)嵌入(承载)流内容。A block-level flow content element which enables UIElement elements (i.e. a Button) to be embedded (hosted) in flow content.

Bold

一个内联级流内容元素,该元素使内容使用粗体的字体粗细进行呈现。An inline-level flow content element which causes content to render with a bold font weight.

ContentPosition

表示内容位置的抽象类。Abstract class that represents the position of content. 此位置是特定于内容的。This position is content specific.

DocumentPage

表示由分页程序生成的文档页。Represents a document page produced by a paginator.

DocumentPaginator

提供支持从单个文档创建多页元素的抽象基类。Provides an abstract base class that supports creation of multiple-page elements from a single document.

DocumentReference

提供访问以引用 FixedDocumentProvides access to reference a FixedDocument.

DocumentReferenceCollection

定义 DocumentReference 元素的有序列表。Defines an ordered list of DocumentReference elements.

DynamicDocumentPaginator

提供抽象基类,该抽象基类除了支持其自己基类的方法和属性之外,还支持自动后台分页和在重新分页期间跟踪内容位置。Provides an abstract base class that supports automatic background pagination and tracking content positions across repaginations in addition to the methods and properties of its own base class.

EditingCommands

提供一组标准的与编辑相关的命令。Provides a standard set of editing related commands.

Figure

一个内联级别的用于承载图形的流内容元素。An inline-level flow content element used to host a figure. 图形是带有位置属性的流内容的一部分,可以独立于 FlowDocument 中的主内容流自定义该部分。A figure is a portion of flow content with placement properties that can be customized independently from the primary content flow within a FlowDocument.

FixedDocument

用于托管对用户文本选择、键盘导航和搜索具有读访问权限的可移植、高保真和格式固定的文档。Hosts a portable, high fidelity, fixed-format document with read access for user text selection, keyboard navigation, and search.

FixedDocumentSequence

承载定义一系列固定文档的一个或多个 DocumentReference 元素。Hosts one or more DocumentReference elements that define a sequence of fixed documents.

FixedPage

为固定格式的高保真页面提供内容。Provides the content for a high fidelity, fixed-format page.

Floater

提供一个内联级别的流内容元素,该元素用于承载一个浮标。Provides an inline-level flow content element used to host a floater. “浮标”显示与 FlowDocument 中的主内容流平行的图像和其他内容。A floater displays images and other content parallel to the main content flow in a FlowDocument.

FlowDocument

用高级文档功能(如分页和列)承载流内容和设置流内容格式。Hosts and formats flow content with advanced document features, such as pagination and columns.

FrameworkRichTextComposition

表示与文本输入相关的撰写。Represents a composition related to text input. 可以使用此类来查找撰写或结果字符串的文本位置。You can use this class to find the text position of the composition or the result string.

FrameworkTextComposition

表示在 TextBox 的文本输入事件期间的撰写。Represents a composition during the text input events of a TextBox.

GetPageCompletedEventArgs

GetPageCompleted 事件提供数据。Provides data for the GetPageCompleted event.

GetPageNumberCompletedEventArgs

GetPageNumberCompleted 事件提供数据。Provides data for the GetPageNumberCompleted event.

GetPageRootCompletedEventArgs

GetPageRootCompleted 事件提供数据。Provides data for the GetPageRootCompleted event.

Glyphs

表示用于呈现固定文本的字形集。Represents the set of glyphs that are used for rendering fixed text.

Hyperlink

提供用于在流内容中承载超链接的功能的内联级别的流内容元素。An inline-level flow content element that provides facilities for hosting hyperlinks within flow content.

Inline

为所有内联流内容元素提供基类的抽象类。An abstract class that provides a base for all inline flow content elements.

InlineCollection

表示 Inline 元素的集合。Represents a collection of Inline elements. InlineCollection 定义 ParagraphSpanTextBlock 元素允许的子内容。InlineCollection defines the allowable child content of the Paragraph, Span, and TextBlock elements.

InlineUIContainer

一个内联级别的流内容元素使 UIElement 元素(例如 Button)嵌入(承载)流内容。An inline-level flow content element which enables UIElement elements (i.e. a Button) to be embedded (hosted) in flow content.

Italic

提供将导致内容以倾斜字体样式呈现的内联级别流内容元素。Provides an inline-level flow content element that causes content to render with an italic font style.

LineBreak

一个内联流内容元素,该元素导致换行符在流内容中出现。An inline flow content element that causes a line break to occur in flow content.

LinkTarget

表示某页上的一个元素,可以从其他文档或同一文档中的其他位置链接到该元素。Represents an element on a page that can be linked to from other documents or other places in the same document.

LinkTargetCollection

提供 LinkTarget 中所有 Package 元素的集合。Provides a collection of all of the LinkTarget elements in a Package.

List

提供用于在有序列表或无序列表中呈现内容的功能的块级别流内容元素。A block-level flow content element that provides facilities for presenting content in an ordered or unordered list.

ListItem

一个流内容元素,表示有序或无序的 List 中的一个特定内容项。A flow content element that represents a particular content item in an ordered or unordered List.

ListItemCollection

表示 ListItem 元素的集合。Represents a collection of ListItem elements. ListItemCollection 定义了 List 元素可允许的子内容。ListItemCollection defines the allowable child content of a List element.

PageContent

提供有关 FixedPage 中的 FixedDocument 元素的信息。Provides information about the FixedPage elements within a FixedDocument.

PageContentCollection

为文档页集合提供集合支持。Provides collection support for a collection of document pages.

PagesChangedEventArgs

PagesChanged 事件提供数据。Provides data for the PagesChanged event.

PaginationProgressEventArgs

PaginationProgress 事件提供数据。Provides data for the PaginationProgress event.

Paragraph

用于将内容分组到一个段落中的块级别流内容元素。A block-level flow content element used to group content into a paragraph.

PresentationUIStyleResources

此类用于创建需要公共类的 ComponentResourceKey 对象。This class is used to create ComponentResourceKey objects, which require a public class.

Run

旨在包含一连串格式化或非格式化文本的内联级别流内容元素。An inline-level flow content element intended to contain a run of formatted or unformatted text.

Section

用于对其他 Block 元素进行分组的块级别流内容元素。A block-level flow content element used for grouping other Block elements.

Span

对其他 Inline 流内容元素进行分组。Groups other Inline flow content elements.

Table

提供基于网格的演示文稿(按行和列组织)的块级别流内容元素。A block-level flow content element that provides a grid-based presentation organized by rows and columns.

TableCell

定义 Table 中内容单元格的流内容元素。A flow content element that defines a cell of content within a Table.

TableCellCollection

提供标准功能,用于创建和管理 TableCell 对象的已排序的类型安全集合。Provides standard facilities for creating and managing a type-safe, ordered collection of TableCell objects.

TableColumn

定义 Table 中列的流内容元素。A flow content element that defines a column within a Table.

TableColumnCollection

提供标准功能,用于创建和管理 TableColumn 对象的已排序的类型安全集合。Provides standard facilities for creating and managing a type-safe, ordered collection of TableColumn objects.

TableRow

定义 Table 中的行的流内容元素。A flow content element that defines a row within a Table.

TableRowCollection

提供标准功能,用于创建和管理 TableRow 对象的已排序的类型安全集合。Provides standard facilities for creating and managing a type-safe, ordered collection of TableRow objects.

TableRowGroup

表示用于对 TableRow 中的 Table 元素进行分组的流内容元素。Represents a flow content element used to group TableRow elements within a Table.

TableRowGroupCollection

提供标准功能,用于创建和管理 TableRowGroup 对象的已排序的类型安全集合。Provides standard facilities for creating and managing a type-safe, ordered collection of TableRowGroup objects.

TextEffectResolver

用于在文本容器中设置文本效果的帮助程序类。A helper class that sets text effects in a text container.

TextEffectTarget

使用 TextEffectResolver 对文本设置效果所产生的结果。Result from using TextEffectResolver to set an effect on text. 它由创建的 TextEffectDependencyObject 应设置为的 TextEffect 组成。This consists of the TextEffect created and the DependencyObject to which the TextEffect should be set.

TextElement

用作抽象 BlockInline 类的基类的抽象类。An abstract class used as the base class for the abstract Block and Inline classes.

TextElementCollection<TextElementType>

提供标准功能,用于创建和管理 TextElement 对象的已排序的类型安全集合。Provides standard facilities for creating and managing a type-safe, ordered collection of TextElement objects. 这是一个泛型集合,可与从 TextElement 派生的指定类型的对象配合使用。This is a generic collection for working with objects of a specified type that derives from TextElement.

TextElementEditingBehaviorAttribute

指定 RichTextBox 应如何处理自定义文本元素。Specifies how a RichTextBox should handle a custom text element.

TextPointer

表示 FlowDocumentTextBlock 中的一个位置。Represents a position within a FlowDocument or TextBlock.

TextRange

表示两个 TextPointer 位置之间的所选内容。Represents a selection of content between two TextPointer positions.

TextSelection

封装 RichTextBox 控件的选择状态。Encapsulates the selection state for the RichTextBox control.

Typography

提供对一组丰富的 OpenType 版式属性的访问。Provides access to a rich set of OpenType typography properties.

Underline

一个内联级别的流内容元素,该元素使内容以带有下划线的文本效果呈现。An inline-level flow content element which causes content to render with an underlined text decoration.

ZoomPercentageConverter

实现一个类型转换器,该转换器用于将 Double(用作 Zoom 的值)与其他类型相互转换。Implements a type converter for converting Double (used as the value of Zoom) to and from other types.

接口

IDocumentPaginatorSource

定义执行实际内容分页的源对象。Defines the source object that performs actual content pagination.

枚举

LogicalDirection

指定执行某些文本操作所使用的逻辑方向,如在相对于指定位置(一个 TextPointer)的文本中进行插入、检索或导航等操作。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).

TextPointerContext

确定与指定 TextPointer 中的 LogicalDirection 相邻的内容类别。Determines the category of content that is adjacent to a TextPointer in a specified LogicalDirection.

委托

GetPageCompletedEventHandler

表示一个方法,该方法将处理 FixedDocumentGetPageCompleted 事件或其他实现 DocumentPaginator 的类。Represents the method that will handle the GetPageCompleted event of a FixedDocument or other classes implementing DocumentPaginator.

GetPageNumberCompletedEventHandler

表示将处理 GetPageNumberCompletedFixedDocumentFlowDocument 事件的方法。Represents the method that will handle the GetPageNumberCompleted event of a FixedDocument, or FlowDocument.

GetPageRootCompletedEventHandler

表示将处理 PageContent 类的 GetPageRootCompleted 事件的方法。Represents the method that will handle the GetPageRootCompleted event of the PageContent class.

PagesChangedEventHandler

表示用来处理 PagesChanged 事件的方法。Represents the method that will handle the PagesChanged event.

PaginationProgressEventHandler

表示用来处理 PaginationProgress 事件的方法。Represents the method that will handle the PaginationProgress event.