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

Disabling ContextMenu in RadPdfViewer for UI for WinForms

Updated on Sep 24, 2025

Environment

Product VersionProductAuthor
2025.2.520RadPdfViewer for WinFormsDinko Krastev

Description

There could be a requirement to disable the default ContextMenu in the RadPdfViewer control.

Solution

To disable the right-click context menu in PdfViewer for UI for WinForms, set the RadContextMenu property to null. This removes the context menu entirely, preventing it from appearing when the user right-clicks inside the RadPdfViewer.

Example Code

C#

this.radPdfViewer1.RadContextMenu = null;

In some cases, the default menu items need to be modified, and the RadPdfViewer Context Menu article demonstrates how to do that.

See Also