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
Syntax
'Declaration
<C1ControlAttribute()>
<StyleTypedPropertyAttribute(Property="PopupStyle", StyleTargetType=C1.WPF.Input.C1PopupBorder)>
<C1TemplatePartAttribute(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplatePartAttribute(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)>
<TemplateVisualStateAttribute(Name="Normal", GroupName="CommonStates")>
<DefaultEventAttribute("OnItemsChanged")>
<DefaultPropertyAttribute("Items")>
<ContentPropertyAttribute("Items")>
<LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class C1ContextMenu
Inherits C1MenuList
[C1Control()]
[StyleTypedProperty(Property="PopupStyle", StyleTargetType=C1.WPF.Input.C1PopupBorder)]
[C1TemplatePart(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplatePart(Name="HeaderPresenter", Type=System.Windows.Controls.ContentPresenter)]
[TemplateVisualState(Name="Normal", GroupName="CommonStates")]
[DefaultEvent("OnItemsChanged")]
[DefaultProperty("Items")]
[ContentProperty("Items")]
[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class C1ContextMenu : C1MenuList
Inheritance Hierarchy
See Also