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


In This Topic
    C1MenuItem Class Members
    In This Topic

    The following tables list the members exposed by C1MenuItem.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of a C1MenuItem.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Identifies the CommandParameter dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Command dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the DisabledCuesVisibility dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the FocusCuesVisibility dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the GroupName dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HeaderForeground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the HighlightedBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the Icon dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsCheckable dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsChecked dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsHighlighted dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the IsSubmenuOpen dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the OpenedBackground dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the SubMenuMaxHeight dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the TextAlignment dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the TextDecorations dependency property.  
    Public Fieldstatic (Shared in Visual Basic)Identifies the TextWrapping 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 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 PropertyGets or sets the command to invoke when this button is pressed.  
    Public PropertyGets or sets the parameter to pass to the Command property.  
    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 whether the disabled visuals of the control are visible.  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Controls.ItemsControl)
    Public Property (Inherited from System.Windows.UIElement)
    Public Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value indicating whether the focus visuals of the control are visible.  
    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 or sets the name that specifies which MenuItems are mutually exclusive (when checkable).  
    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 background brush of the header.  
    Public PropertyGets or sets the foreground brush of the header.  
    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 PropertyGets or sets the icon that appears in a C1MenuItem.  
    Public PropertyGets the index of this C1MenuItem in its parent items collection.  
    Public PropertyGets a value that indicates whether a C1MenuItem can be checked.  
    Public PropertyGets or sets a value that indicates whether the C1MenuItem is checked.  
    Public Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets a value that indicates whether a C1MenuItem is highlighted.  
    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 PropertyGets a value that indicates whether the submenu of the C1MenuItem is open.  
    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 PropertyIdentifies the parent C1Menu of this item.  
    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.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 Property (Inherited from System.Windows.Controls.Control)
    Public PropertyGets the C1MenuItem that is the parent of this item.  
    Public PropertyGets the items collection of this element's parent. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public PropertyGets the C1MenuItem that is the parent of this item.  
    Public PropertyReturns this element's parent ItemsSource Property. (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    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 Property (Inherited from System.Windows.FrameworkElement)
    Public PropertyGets or sets a value that indicates the MaxHeight of the SubMenu.  
    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 PropertyGets or sets a value that indicates the horizontal alignment of text content in the Header.  
    Public PropertyGets or sets a TextDecorationCollection that contains the effects to apply to the text of the Header.  
    Public PropertyGets or sets a value that indicates how any text should be wrapped in the Header.  
    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 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 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 C1MenuItem 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 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 Highlighted visual state group to match the object's properties.  
    Protected MethodUpdates the current visual state of the Opened visual state group to match the object's properties.  
    Protected MethodOverridden.   
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodOverridden.   
    Protected Method (Inherited from System.Windows.FrameworkElement)
    Protected MethodResponds to a check item action by raising a Checked event.  
    Protected MethodResponds to a click action by raising a Click 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 MethodOverridden.   
    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 MethodOverridden. Called before the System.Windows.UIElement.MouseRightButtonDown event occurs.  
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected Method (Inherited from System.Windows.Controls.Control)
    Protected MethodResponds to a closed item action by raising a SubmenuClosed event.  
    Protected MethodResponds to an open item action by raising a SubmenuOpened 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 MethodResponds to an uncheck item action by raising a Unchecked event.  
    Protected MethodOverridden.   
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.Windows.FrameworkElement)
    Public EventOccurs when a C1MenuItem is checked.  
    Public EventOccurs when the C1MenuItem is clicked.  
    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 C1HierarchicalPresenter child item is cleared. (ClearContainerForItemOverride was invoked). (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    Public EventOccurs when a C1HierarchicalPresenter child item is prepared (PrepareContainerForItemOverride was invoked). (Inherited from C1.Silverlight.C1HierarchicalPresenter)
    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 Event (Inherited from System.Windows.FrameworkElement)
    Public EventOccurs when the state of the IsSubmenuOpen property changes to false.  
    Public EventOccurs when a submenu is closing.  
    Public EventOccurs when the state of the IsSubmenuOpen property changes to true.  
    Public EventOccurs when a submenu is opening.  
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public Event (Inherited from System.Windows.UIElement)
    Public EventOccurs when a C1MenuItem is unchecked.  
    Public Event (Inherited from System.Windows.FrameworkElement)
    Top
    See Also