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.v21.1.dll


public ReportDesignerDocumentViewKind ViewKind { get; set; }

Property Value

Type Description

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

Available values:

Name Description

The report document is opened in design mode.


The Script Editor is opened.


The report document is opened in preview mode.


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.

See Also