Back to Devexpress

PdfAttachmentsViewerSettings.AttachmentsViewerInitialState Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfattachmentsviewersettings-6f5caf5c.md

latest2.7 KB
Original Source

PdfAttachmentsViewerSettings.AttachmentsViewerInitialState Property

Gets or sets the attachments viewer visible state after loading a PDF document that contains an attached file.

Namespace : DevExpress.Xpf.PdfViewer

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

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public PdfAttachmentsViewerState? AttachmentsViewerInitialState { get; set; }
vb
Public Property AttachmentsViewerInitialState As PdfAttachmentsViewerState?

Property Value

TypeDescription
Nullable<PdfAttachmentsViewerState>

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

|

Available values:

NameDescription
Collapsed

The attachments viewer is collapsed.

| | Visible |

The attachments viewer is visible.

| | Expanded |

The attachments viewer is expanded.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AttachmentsViewerInitialState
PdfViewerControl

.ActualAttachmentsViewerSettings .AttachmentsViewerInitialState

| | PdfViewerControl |

.AttachmentsViewerSettings .AttachmentsViewerInitialState

|

Remarks

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

If the AttachmentsViewerInitialState property is set to Null (the default value), the PdfAttachmentsViewerSettings.AttachmentsViewerState property’s value is Collapsed.

See Also

PdfAttachmentsViewerSettings Class

PdfAttachmentsViewerSettings Members

DevExpress.Xpf.PdfViewer Namespace