Skip to main content

ReportDesignerDocument.ViewKind Property

Gets or sets a value that specifies the view mode of a report designer document. This is a dependency property.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v24.1.dll

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public ReportDesignerDocumentViewKind ViewKind { get; set; }

Property Value

Type Description
ReportDesignerDocumentViewKind

One of the ReportDesignerDocumentViewKind enumeration values that specifies the report designer document’s view mode.

Available values:

Name Description
Designer

The report document is opened in design mode.

ScriptEditor

The Script Editor is opened.

Preview

The report document is opened in preview mode.

Remarks

If the ViewKind property is set to Designer, the document is opened in the design mode, which provides an editing surface to customize the report’s layout. Set this property to Preview to activate the document’s print preview. Choose the ScriptEditor value to open the Script Editor, where you can manage and validate report scripts.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ViewKind property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also