Ticket T270797
Visible to All Users

Usability - Provide the capability to raise the PdfPopupMenuShowing event when a popup menu is shown in a bookmarks tree

created 10 years ago (modified 10 years ago)

Hello,

I  prevented popup Menu in pdf viewer. But when Right-click on bookmarks navigation pane, I found print in popup menu !!! ( See attached pic).

How can i prevent it ?

Thanks.

Show previous comments (4)

    Thanks
    Waiting :).

      I have this problem too.
      When trying change bookmarks menu, I can't !!
      I'm using PDF Viewer 15.1.6

      DevExpress Support Team 10 years ago

        Hello,

        This feature is not implemented yet. We will consider adding it in future major releases of PdfViewer. We will update this thread with implementation details once this functionality is introduced. Please bear with us.

        Answers approved by DevExpress Support

        created 9 years ago

        We have implemented the functionality described in this ticket. It will be included in our next update(s).

        Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

        Additional information:

        A context menu shown for the navigation pane can be customized in the PdfViewer.PopupMenuShowing event. To access the menu, use the ItemLinks property, which has been introduced instead of the PdfPopupMenuShowingEventArgs.Menu property.

        Note that PdfPopupMenuShowingEventArgs.Menu property returns null in some cases when the PopupMenuShowing event is raised for outlines (see  BC3129 - The PopupMenuShowing event behavior has been changed). To avoid this issue, use the ItemLinks property instead.

        You can also obtain the current popup menu type shown for the PDF Viewer using the PdfPopupMenuShowingEventArgs.PdfPopupMenuKind property. This property can return one of the PdfPopupMenuKind enumeration values: PageContent, BookmarkTree, and BookmarkOptions.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.