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

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.

See Also