DocumentViewerBase.Document 属性

定义

获取或设置要分页或由查看器显示的 IDocumentPaginatorSourceGets or sets a IDocumentPaginatorSource to be paginated and displayed by the viewer.

public:
 property System::Windows::Documents::IDocumentPaginatorSource ^ Document { System::Windows::Documents::IDocumentPaginatorSource ^ get(); void set(System::Windows::Documents::IDocumentPaginatorSource ^ value); };
public System.Windows.Documents.IDocumentPaginatorSource Document { get; set; }
member this.Document : System.Windows.Documents.IDocumentPaginatorSource with get, set
Public Property Document As IDocumentPaginatorSource

属性值

要分页或由查看器显示的 IDocumentPaginatorSourceA IDocumentPaginatorSource to be paginated and displayed by the viewer.

默认属性为 nullThe default property is null.

注解

依赖项属性信息Dependency Property Information

标识符字段Identifier field DocumentProperty
元数据属性设置为 trueMetadata properties set to true None

适用于