Skip to main content
A newer version of this page is available. .
All docs
V21.2

PdfCommentViewerSettings.CommentViewerState Property

Specifies the comment viewer visible state. This is a dependency property.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v21.2.dll

NuGet Package: DevExpress.Wpf.PdfViewer

Declaration

public PdfCommentViewerState CommentViewerState { get; set; }

Property Value

Type Description
PdfCommentViewerState

One of the PdfCommentViewerState values. The default value is Collapsed.

Available values:

Name Description
Collapsed

The comment viewer is collapsed.

Visible

The comment viewer is visible.

Expanded

The comment viewer is expanded.

Property Paths

You can access this nested property as listed below:

Object Type Path to CommentViewerState
PdfViewerControl
.ActualCommentViewerSettings .CommentViewerState
PdfViewerControl
.CommentViewerSettings .CommentViewerState

Remarks

To specify the comment viewer visible state after loading a PDF document with annotations, use the PdfCommentViewerSettings.CommentViewerInitialState property.

See Also