Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1ContextMenu Class
Fields Properties Methods Events


In This Topic
    C1ContextMenu Class Members
    In This Topic

    The following tables list the members exposed by C1ContextMenu.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of a C1ContextMenu.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the HighlightedBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Offset dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the OpenedBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the PlacementTarget dependency property.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets a value indicating if the menu will auto close when the user clicks outside of it. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets a value indicating if the menu will auto update the position of its sub-menus when they are close to the boundaries of the application. (Inherited from C1.Silverlight.C1Menu)
    Public PropertyGets or sets a value indicating whether the disabled visuals of the control are visible. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyRepresents the style to apply to all menu items at the first level. (Inherited from C1.Silverlight.C1Menu)
    Public PropertyRepresents the template to apply to all menu items at the first level. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value indicating whether the focus visuals of the control are visible. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets a value that indicates whether the ItemsControl contains items. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public PropertyGets or sets the item that labels the control. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public PropertyGets or sets the template used to display the contents of the control's header. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets the System.Windows.Media.Brush used to highlight the menu item.  
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyReturns true if the control has the focus. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets a value indicating whether the mouse pointer is located over this element. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public PropertyGets or sets the Style that is applied to the container element generated for each item. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public PropertyGets or sets custom style-selection logic for a style that can be applied to each generated container element. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public PropertyThe ItemConverter performs the conversion from a C1HierarchicalPresenter instance to its String representation. If not set by the user, the default converter will be used. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public PropertyProvides a way to choose a DataTemplate based on the data object and the data-bound element. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or Sets a value (in milliseconds) for the delay used when opening a submenu. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyRepresents the style to apply to all menu items that are not in the first level. (Inherited from C1.Silverlight.C1Menu)
    Public PropertyRepresents the template to apply to all menu items that are not in the first level. (Inherited from C1.Silverlight.C1Menu)
    Public PropertyGets the current position of the C1ContextMenu relative to the control it is associated with.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public PropertyGets or sets the System.Windows.Media.Brush used in a menu item when this item is opened.  
    Public PropertyGets or sets the direction in which to render the Menu control. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets the items collection of this element's parent. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public PropertyReturns this element's parent ItemsSource Property. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public PropertyGets or sets the FrameworkElement relative to which the C1ContextMenu is positioned when it opens.  
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyDefault style applied to the C1Separator located inside this C1Menu. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value that indicates the MaxHeight of the SubMenu. (Inherited from C1.Silverlight.C1Menu)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public Property (Inherited from System.Windows.Controls.Control)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Top
    Protected Properties
     NameDescription
    Protected Property (Inherited from System.Windows.Controls.Control)
    Top
    Public Methods
     NameDescription
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.Controls.Control)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodForces closing all opened sub-menus. (Inherited from C1.Silverlight.C1Menu)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.Controls.Control)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodHides the context menu  
    Public MethodInitializes a C1HierarchicalPresenter by setting its parent and root elements in the hierarchy. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodDetermines whether the C1HierarchicalPresenter is an ancestor of the descendant element. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public Method (Inherited from System.Windows.UIElement)
    Public MethodOverridden. Builds the visual tree for the C1ContextMenu control when a new template is applied.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.FrameworkElement)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodDisplays the context menu at the specified position.  
    Public MethodCreates a list with all the item containers present in the Hierarchical Presenter at the moment of invocation. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public Method (Inherited from System.Windows.UIElement)
    Public Method (Inherited from System.Windows.UIElement)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodUpdates the current visual state of the Common visual state group to match the object's properties. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Protected MethodUpdates the current visual state of the Focus visual state group to match the object's properties. (Inherited from C1.Silverlight.C1Menu)
    Protected Method (Inherited from C1.Silverlight.C1Menu)
    Protected Method (Inherited from C1.Silverlight.C1Menu)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from C1.Silverlight.C1Menu)
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodOverridden. Called when the property AutoClose changed.  
    Protected MethodRaises the AutoClosed event. (Inherited from C1.Silverlight.C1Menu)
    Protected MethodRaises the AutoClosing event. (Inherited from C1.Silverlight.C1Menu)
    Protected MethodRaises the Closed event.  
    Protected MethodRaises the Closing event.  
    Protected Method (Inherited from System.Windows.UIElement)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodCalled when the value of the Header property changes. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Protected Method (Inherited from C1.Silverlight.C1Menu)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodRaises the Opened event.  
    Protected MethodRaises the Opening event.  
    Protected Method (Inherited from System.Windows.Controls.ItemsControl)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodOverridden. Prepares the specified element to display the specified item.  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the Menu is AutoClosed. (Inherited from C1.Silverlight.C1Menu)
    Public EventOccurs when the Menu is AutoClosing. (Inherited from C1.Silverlight.C1Menu)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventOccurs when the C1ContextMenu closes.  
    Public EventOccurs when the C1ContextMenu is Closing.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.Controls.Control)
    Public EventEvent raised when the IsMouseOver property has changed. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public EventOccurs when a C1MenuItem is checked. (Inherited from C1.Silverlight.C1Menu)
    Public EventOccurs when a C1HierarchicalPresenter child item is cleared. (ClearContainerForItemOverride was invoked). (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public EventOccurs when a C1MenuItem is clicked. (Inherited from C1.Silverlight.C1Menu)
    Public EventOccurs when a C1MenuItem is closed. (Inherited from C1.Silverlight.C1Menu)
    Public EventOccurs when a C1MenuItem is closing. (Inherited from C1.Silverlight.C1Menu)
    Public EventOccurs when a C1MenuItem is opened. (Inherited from C1.Silverlight.C1Menu)
    Public EventOccurs when a C1MenuItem is opening. (Inherited from C1.Silverlight.C1Menu)
    Public EventOccurs when a C1HierarchicalPresenter child item is prepared (PrepareContainerForItemOverride was invoked). (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public EventOccurs when a C1MenuItem is unchecked. (Inherited from C1.Silverlight.C1Menu)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventOccurs when the C1ContextMenu offset changes.  
    Public EventOccurs when the C1ContextMenu opens.  
    Public EventOccurs when the C1ContextMenu is Opening.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.FrameworkElement)
    Top
    See Also