Back to Devexpress

PdfCommentViewerSettings.CommentViewerInitialState Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfcommentviewersettings-20a22975.md

latest2.5 KB
Original Source

PdfCommentViewerSettings.CommentViewerInitialState Property

Gets or sets the comment viewer visible state after loading a PDF document that contains annotations. This is a dependency property.

Namespace : DevExpress.Xpf.PdfViewer

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

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public PdfCommentViewerState? CommentViewerInitialState { get; set; }
vb
Public Property CommentViewerInitialState As PdfCommentViewerState?

Property Value

TypeDescription
Nullable<PdfCommentViewerState>

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

|

Available values:

NameDescription
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 TypePath to CommentViewerInitialState
PdfViewerControl

.ActualCommentViewerSettings .CommentViewerInitialState

| | PdfViewerControl |

.CommentViewerSettings .CommentViewerInitialState

|

Remarks

Use the CommentViewerInitialState property to specify the initial visible state of an attachments viewer after loading a PDF document with an attached file.

If the CommentViewerInitialState property is set to Null (the default value), the PdfCommentViewerSettings.CommentViewerState property’s value is Collapsed.

See Also

PdfCommentViewerSettings Class

PdfCommentViewerSettings Members

DevExpress.Xpf.PdfViewer Namespace