wpf-devexpress-dot-xpf-dot-pdfviewer-dot-pdfattachmentsviewersettings-6f5caf5c.md
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
public PdfAttachmentsViewerState? AttachmentsViewerInitialState { get; set; }
Public Property AttachmentsViewerInitialState As PdfAttachmentsViewerState?
| Type | Description |
|---|---|
| Nullable<PdfAttachmentsViewerState> |
One of the PdfAttachmentsViewerState values. The default value is Null.
|
Available values:
| Name | Description |
|---|---|
| Collapsed |
The attachments viewer is collapsed.
| | Visible |
The attachments viewer is visible.
| | Expanded |
The attachments viewer is expanded.
|
You can access this nested property as listed below:
| Object Type | Path to AttachmentsViewerInitialState |
|---|---|
| PdfViewerControl |
.ActualAttachmentsViewerSettings .AttachmentsViewerInitialState
| | PdfViewerControl |
.AttachmentsViewerSettings .AttachmentsViewerInitialState
|
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