menu

Document Processing

PdfDocumentViewAutomationPeer Class - C# PDF Library API Reference | Syncfusion

    Show / Hide Table of Contents

    PdfDocumentViewAutomationPeer Class

    Exposes PdfDocumentView types to UI Automation.

    Inheritance
    System.Object
    PdfDocumentViewAutomationPeer
    Namespace: Syncfusion.Windows.PdfViewer
    Assembly: Syncfusion.PdfViewer.WPF.dll
    Syntax
    public class PdfDocumentViewAutomationPeer : FrameworkElementAutomationPeer

    Constructors

    PdfDocumentViewAutomationPeer(PdfDocumentView)

    Initializes a new instance of the PdfDocumentViewAutomationPeer class.

    Declaration
    public PdfDocumentViewAutomationPeer(PdfDocumentView pdf)
    Parameters
    Type Name Description
    PdfDocumentView pdf

    Specifies the PdfDocumentView

    Methods

    GetAutomationControlTypeCore()

    Gets the control type for the PdfDocumentView that is associated with this PdfDocumentViewAutomationPeer.

    Declaration
    protected override AutomationControlType GetAutomationControlTypeCore()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationControlType

    Returns the control type for the PdfDocumentView as Custom.

    GetAutomationIdCore()

    Declaration
    protected override string GetAutomationIdCore()
    Returns
    Type
    System.String

    GetClassNameCore()

    Declaration
    protected override string GetClassNameCore()
    Returns
    Type
    System.String

    GetLocalizedControlTypeCore()

    Gets the localized version of the control type for the PdfDocumentView that is associated with this System.Windows.Automation.Peers.DocumentViewerAutomationPeer.

    Declaration
    protected override string GetLocalizedControlTypeCore()
    Returns
    Type Description
    System.String

    A string that contains "PdfDocumentView".

    GetNameCore()

    Gets the text label of PdfDocumentView that is associated with PdfDocumentViewAutomationPeer.

    Declaration
    protected override string GetNameCore()
    Returns
    Type Description
    System.String

    Returns the text label of PdfDocumentView.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved