Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1ContextMenu Class
Members

In This Topic
    C1ContextMenu Class
    In This Topic
    The C1ContextMenu control represents a menu that can be displayed when the user clicks the right mouse button over a control.
    Object Model
    C1ContextMenu Class
    Syntax
    'Declaration
     
    
    <TemplatePartAttribute(Name="ContextMenuPopup", Type=System.Windows.Controls.Primitives.Popup)>
    <TemplateVisualStateAttribute(Name="Focused", GroupName="FocusStates")>
    <StyleTypedPropertyAttribute(Property="NonFirstLevelStyle", StyleTargetType=C1.Silverlight.C1MenuItem)>
    <ContentPropertyAttribute("Items", True)>
    Public Class C1ContextMenu 
       Inherits C1Menu
       Implements IC1ContextMenu 
    [TemplatePart(Name="ContextMenuPopup", Type=System.Windows.Controls.Primitives.Popup)]
    [TemplateVisualState(Name="Focused", GroupName="FocusStates")]
    [StyleTypedProperty(Property="NonFirstLevelStyle", StyleTargetType=C1.Silverlight.C1MenuItem)]
    [ContentProperty("Items", true)]
    public class C1ContextMenu : C1Menu, IC1ContextMenu  
    Inheritance Hierarchy

    System.Object
       System.Windows.DependencyObject
          System.Windows.UIElement
             System.Windows.FrameworkElement
                System.Windows.Controls.Control
                   System.Windows.Controls.ItemsControl
                      C1.Silverlight.C1HierarchicalPresenter
                         C1.Silverlight.C1Menu
                            C1.Silverlight.C1ContextMenu

    See Also