Compartir a través de


ContextMenuButton Class

Sites and opens the ContextMenu on a button when it is clicked. This enables showing the context menu on left-click gestures.
This is used by the design-time infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Class ContextMenuButton _
    Inherits ButtonBase
public class ContextMenuButton : ButtonBase
public ref class ContextMenuButton : public ButtonBase
public class ContextMenuButton extends ButtonBase

Inheritance Hierarchy

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.DependencyObject
      System.Windows.Media.Visual
        System.Windows.UIElement
          System.Windows.FrameworkElement
            System.Windows.Controls.Control
              System.Windows.Controls.ContentControl
                System.Windows.Controls.Primitives.ButtonBase
                  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls.ContextMenuButton

See Also

ContextMenuButton Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls Namespace