The C1ContextMenu control represents a menu that can be displayed when the user clicks the right mouse button over a control.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
[TemplatePartAttribute(Name = "ContextMenuPopup", Type = typeof(Popup))] [TemplatePartAttribute(Name = "PositioningPanel", Type = typeof(Canvas))] [TemplatePartAttribute(Name = "MainPanel", Type = typeof(Grid))] public class C1ContextMenu : C1Menu |
Visual Basic |
---|
<TemplatePartAttribute(Name := "ContextMenuPopup", Type := GetType(Popup))> _ <TemplatePartAttribute(Name := "PositioningPanel", Type := GetType(Canvas))> _ <TemplatePartAttribute(Name := "MainPanel", Type := GetType(Grid))> _ Public Class C1ContextMenu _ Inherits C1Menu |
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
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