[]
        
(Showing Draft Content)

C1.WPF.PdfViewer.C1PdfViewerToolbar

C1PdfViewerToolbar Class

Provides tools for controlling a C1PdfViewer.

Namespace: C1.WPF.PdfViewer
Assembly: C1.WPF.PdfViewer.4.6.2.dll
Syntax
[TemplatePart(Name = "PageNumber", Type = typeof(TextBox))]
[TemplatePart(Name = "Zoom", Type = typeof(C1ComboBox))]
[TemplatePart(Name = "Find", Type = typeof(TextBox))]
[TemplatePart(Name = "FitWidth", Type = typeof(ToggleButton))]
[TemplatePart(Name = "OnePage", Type = typeof(ToggleButton))]
public class C1PdfViewerToolbar : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1PdfViewerToolbar()

Initializes a new instance of a C1PdfViewerToolbar.

Fields

Name Description
FindResultsProperty

Identifies the FindResults dependency property.

OpenButtonVisibilityProperty

Identifies the OpenButtonVisibility dependency property.

ViewerProperty

Identifies the Viewer dependency property.

Properties

Name Description
FindResults

Gets a string to display the number of current find results.

OpenButtonVisibility

Gets or sets a value that indicates whether open button in the toolbar should be displayed.

Viewer

Gets or sets the C1PdfViewer this toolbar controls.

Methods

Name Description
OnApplyTemplate()

Builds the visual tree for the C1PdfViewerToolbar control when a new template is applied.