System.Windows.Documents Namespace
.NET Framework 4
Contains types that support FixedDocument, FlowDocument, and XML Paper Specification (XPS) document creation.
| Class | Description | |
|---|---|---|
|
Adorner | Abstract class that represents a FrameworkElement that decorates a UIElement. |
|
AdornerDecorator | Provides an AdornerLayer for the child elements in the visual tree. |
|
AdornerLayer | Represents a surface for rendering adorners. |
|
AnchoredBlock | 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 | Represents a collection of Block elements. BlockCollection defines the allowable child content of the FlowDocument, Section, ListItem, TableCell, Floater, and Figure elements. |
|
BlockUIContainer | 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 | Provides access to reference a FixedDocument. |
|
DocumentReferenceCollection | 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. 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 | 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. 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 | Represents a composition during the text input events of a TextBox. |
|
GetPageCompletedEventArgs | Provides data for the GetPageCompleted event. |
|
GetPageNumberCompletedEventArgs | Provides data for the GetPageNumberCompleted event. |
|
GetPageRootCompletedEventArgs | 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 | Represents a collection of Inline elements. InlineCollection defines the allowable child content of the Paragraph, Span, and TextBlock elements. |
|
InlineUIContainer | 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 | 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 | A flow content element that represents a particular content item in an ordered or unordered List. |
|
ListItemCollection | Represents a collection of ListItem elements. ListItemCollection defines the allowable child content of a List element. |
|
PageContent | Provides information about the FixedPage elements within a FixedDocument. |
|
PageContentCollection | Provides collection support for a collection of document pages. |
|
PagesChangedEventArgs | Provides data for the PagesChanged event. |
|
PaginationProgressEventArgs | Provides data for the PaginationProgress event. |
|
Paragraph | A block-level flow content element used to group content into a paragraph. |
|
PresentationUIStyleResources | Supports component resource keys. |
|
Run | An inline-level flow content element intended to contain a run of formatted or unformatted text. |
|
Section | A block-level flow content element used for grouping other Block elements. |
|
Span | 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 | A flow content element that defines a cell of content within a Table. |
|
TableCellCollection | Provides standard facilities for creating and managing a type-safe, ordered collection of TableCell objects. |
|
TableColumn | A flow content element that defines a column within a Table. |
|
TableColumnCollection | Provides standard facilities for creating and managing a type-safe, ordered collection of TableColumn objects. |
|
TableRow | A flow content element that defines a row within a Table. |
|
TableRowCollection | Provides standard facilities for creating and managing a type-safe, ordered collection of TableRow objects. |
|
TableRowGroup | Represents a flow content element used to group TableRow elements within a Table. |
|
TableRowGroupCollection | 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 | Result from using TextEffectResolver to set an effect on text. This consists of the TextEffect created and the DependencyObject to which the TextEffect should be set. |
|
TextElement | An abstract class used as the base class for the abstract Block and Inline classes. |
|
TextElementCollection<TextElementType> | Provides standard facilities for creating and managing a type-safe, ordered collection of TextElement objects. This is a generic collection for working with objects of a specified type that derives from TextElement. |
|
TextElementEditingBehaviorAttribute | Specifies how a RichTextBox should handle a custom text element. |
|
TextPointer | Represents a position within a FlowDocument or TextBlock. |
|
TextRange | Represents a selection of content between two TextPointer positions. |
|
TextSelection | Encapsulates the selection state for the RichTextBox control. |
|
Typography | 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 | Implements a type converter for converting Double (used as the value of DocumentViewer.Zoom) to and from other types. |
| Interface | Description | |
|---|---|---|
|
IDocumentPaginatorSource | Defines the source object that performs actual content pagination. |
| Delegate | Description | |
|---|---|---|
|
GetPageCompletedEventHandler | Represents the method that will handle the DocumentPaginator.GetPageCompleted event of a FixedDocument or other classes implementing DocumentPaginator. |
|
GetPageNumberCompletedEventHandler | Represents the method that will handle the DynamicDocumentPaginator.GetPageNumberCompleted event of a FixedDocument, or FlowDocument. |
|
GetPageRootCompletedEventHandler | Represents the method that will handle the GetPageRootCompleted event of the PageContent class. |
|
PagesChangedEventHandler | Represents the method that will handle the DocumentPaginator.PagesChanged event. |
|
PaginationProgressEventHandler | Represents the method that will handle the DynamicDocumentPaginator.PaginationProgress event. |
| Enumeration | Description | |
|---|---|---|
|
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). |
|
TextPointerContext | Determines the category of content that is adjacent to a TextPointer in a specified LogicalDirection. |
Add reference "PresentationFramework.dll"
Try add reference "PresentationFramework.dll", and you should be able to use System.Windows.Documents. Worked for me.
- 2/23/2011
- Liang Chen
System.Windows.Documents Namespace - missing?
This is not available in my version of ASP.NET4.0.
- 12/3/2010
- penxou
Non existance reference
For some reason this doesnt exist in my copy of vs2010
- 9/30/2010
- joneschrisan