ImageGear for Silverlight
ImGearPageViewContextMenu Class
Members  See Also  Send Feedback
ImageGear20.Windows.Controls Assembly > ImageGear.Windows.Controls Namespace : ImGearPageViewContextMenu Class




Glossary Item Box

This class represents a context menu for the PageView control.

Object Model

ImGearPageViewContextMenu ClassImGearAnnotationItems Class

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Remarks

By default a PageViewContextMenu with default menu items is shown when right clicking on the PageView control. The default menu items may change from version to version.

The PageView.PageViewContextMenu property can be set to an instance of PageViewContextMenu to specify a custom context menu. This class can be used to specify menu items that are always displayed (ImageGear.Windows.Controls.PageViewContextMenu.Items), menu items that are displayed when right clicking on a page (PageItems), menu items that are displayed when right clicking on any annotation (ImageGear.Windows.Controls.PageViewContextMenu.MarkItems.Common), and menu items that are displayed when right clicking on specific types of annotations (ImageGear.Windows.Controls.PageViewContextMenu.MarkItems.Line, ImageGear.Windows.Controls.PageViewContextMenu.MarkItems.Rectangle, etc.).

If the IsEnabled property is set to false, the default Silverlight context menu will display instead of the PageView context menu.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               System.Windows.Controls.ItemsControl
                  ImageGear.Windows.Controls.ImGearPageViewContextMenu

See Also

©2013. Accusoft Corporation. All Rights Reserved.