New to Telerik UI for WPFStart a free 30-day trial

Represents a class that provides attached properties for customizing the RadPdfViewer. It includes the ability to register various dialog components such as a context menu, find dialog, signature properties dialog, sign-signature dialog, and password required dialog. This class allows users to enhance the functionality of the RadPdfViewer by attaching these components dynamically, based on Boolean property values.

Definition

Namespace:Telerik.Windows.Controls.FixedDocumentViewersUI

Assembly:Telerik.Windows.Controls.FixedDocumentViewersUI.dll

Syntax:

C#
public class RadPdfViewerAttachedComponents : DependencyObject

Inheritance: objectRadPdfViewerAttachedComponents

Constructors

C#
public RadPdfViewerAttachedComponents()

Fields

RegisterContextMenuProperty

DependencyProperty

Adds a default context menu to the RadPdfViewer.

C#
public static readonly DependencyProperty RegisterContextMenuProperty

RegisterFindDialogProperty

DependencyProperty

Adds a find dialog to the RadPdfViewer.

C#
public static readonly DependencyProperty RegisterFindDialogProperty

Adds a password required dialog to the RadPdfViewer.

C#
public static readonly DependencyProperty RegisterPasswordRequiredDialogProperty

Adds a sign-signature properties dialog to the RadPdfViewer.

C#
public static readonly DependencyProperty RegisterSignaturePropertiesDialogProperty

Adds a sign-signature dialog to the RadPdfViewer.

C#
public static readonly DependencyProperty RegisterSignSignatureDialogProperty

Methods

Gets the value indicating whether the context menu should be added or removed.

C#
public static bool GetRegisterContextMenu(UIElement element)
Parameters:elementUIElement

The RadPdfViewer.

Returns:

bool

Gets the value indicating whether the find dialog should be added or removed.

C#
public static bool GetRegisterFindDialog(UIElement element)
Parameters:elementUIElement

The RadPdfViewer.

Returns:

bool

Gets the value indicating whether the password required dialog should be added or removed.

C#
public static bool GetRegisterPasswordRequiredDialog(UIElement element)
Parameters:elementUIElement

The RadPdfViewer.

Returns:

bool

Sets the value indicating whether the sign-signature properties dialog should be added or removed.

C#
public static bool GetRegisterSignaturePropertiesDialog(UIElement element)
Parameters:elementUIElement

The RadPdfViewer.

Returns:

bool

Sets the value indicating whether the sign-signature dialog should be added or removed.

C#
public static bool GetRegisterSignSignatureDialog(UIElement element)
Parameters:elementUIElement

The RadPdfViewer.

Returns:

bool

Sets the value indicating whether the context menu should be added or removed.

C#
public static void SetRegisterContextMenu(UIElement element, bool value)
Parameters:elementUIElement

The RadPdfViewer.

valuebool

The boolean value indicating whether the context menu should be added or removed.

Sets the value indicating whether the find dialog should be added or removed.

C#
public static void SetRegisterFindDialog(UIElement element, bool value)
Parameters:elementUIElement

The RadPdfViewer.

valuebool

The boolean value indicating whether the find dialog should be added or removed.

Sets the value indicating whether the password required dialog should be added or removed.

C#
public static void SetRegisterPasswordRequiredDialog(UIElement element, bool value)
Parameters:elementUIElement

The RadPdfViewer.

valuebool

The boolean value indicating whether the sign-signature dialog should be added or removed.

Sets the value indicating whether the sign-signature properties dialog should be added or removed.

C#
public static void SetRegisterSignaturePropertiesDialog(UIElement element, bool value)
Parameters:elementUIElement

The RadPdfViewer.

valuebool

The boolean value indicating whether the sign-signature properties dialog should be added or removed.

Sets the value indicating whether the sign-signature dialog should be added or removed.

C#
public static void SetRegisterSignSignatureDialog(UIElement element, bool value)
Parameters:elementUIElement

The RadPdfViewer.

valuebool

The boolean value indicating whether the sign-signature dialog should be added or removed.