PdfOutlinesViewerSettings.ApplyOutlinesForeground Property
Gets or sets a value that defines whether to use document foreground colors for the outline node text in the outlines viewer.
Namespace: DevExpress.Xpf.PdfViewer
Assembly: DevExpress.Xpf.PdfViewer.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true to apply document foreground colors to the outline node text; false to apply theme colors to the outline node text. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ApplyOutlinesForeground |
---|---|
PdfViewerControl |
|
Remarks
To assign a theme to the PDF Viewer, add the corresponding assemblies to the Reference list of your project and set the ThemeManager.ThemeName property to the required theme name.
<Window xmlns:core="http://schemas.devexpress.com/winfx/2008/xaml/core">
<dxpdf:PdfViewerControl core:ThemeManager.ThemeName="MetropolisDark"/>
The table below shows the ApplyOutlinesForeground property in action with the ThemeManager.ThemeName property is set to “MetropolisDark”:
ApplyOutlinesForeground =true | ApplyOutlinesForeground = false |
---|---|
To access a PdfOutlinesViewerSettings object, use the PdfViewerControl.OutlinesViewerSettings property.