[]
Represents a selectable item inside a C1Menu control.
public class C1MenuItem : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Name | Description |
---|---|
C1MenuItem() | Initializes a new instance of the C1MenuItem class. |
Name | Description |
---|---|
CommandParameterProperty | Identifies the CommandParameter dependency property. |
GroupNameProperty | Identifies the GroupName dependency property. |
HighlightedStyleProperty | Identifies the HighlightedStyle dependency property. |
HotKeyProperty | Identifies the HotKey dependency property. |
IconProperty | Identifies the Icon dependency property. |
IconTemplateProperty | Identifies the IconTemplate dependency property. |
IsCheckableProperty | Identifies the IsCheckable dependency property. |
IsCheckedProperty | Identifies the IsChecked dependency property. |
IsHighlightedProperty | Identifies the IsHighlighted dependency property. |
IsIndentedProperty | Identifies the IsIndented dependency property. |
IsSubmenuOpenProperty | Identifies the IsSubmenuOpen dependency property. |
MenuStyleProperty | Identifies the MenuStyle dependency property. |
OpenIconStyleProperty | Identifies the OpenIconStyle dependency property. |
OpenIconTemplateProperty | Identifies the OpenIconTemplate dependency property. |
OpenedBackgroundProperty | Identifies the OpenedBackground dependency property. |
SeparatorStyleProperty | Identifies the SeparatorStyle dependency property. |
ShowOpenIconProperty | Identifies the ShowOpenIcon dependency property. |
SubMenuMaxHeightProperty | Identifies the SubMenuMaxHeight dependency property. |
Name | Description |
---|---|
ChildContent | |
ClickToCloseMenu | Get or set the behavior that menu is closed when item is selected. |
CommandParameter | Gets or sets the parameter to pass to the Command property. |
DataItem | |
GroupName | Gets or sets the name that specifies which MenuItems are mutually exclusive (when checkable). |
HasContent | Gets whether the menu item has any content. |
Header | gets or set the node header. |
HeaderTemplate | Get or Set custom content like Input, Group Checkbox... |
HighlightedStyle | Gets a value that indicates Style of Highlighted Item. |
HotKey | Gets or sets the text of the hotkey that will call the command tied to the specified item. |
HotKeyVisibility | Gets the visibility of the InputGestureText. |
Icon | Gets or sets the icon that appears in a C1MenuItem. |
IconTemplate | Gets or sets the template of the icon. |
Index | Gets the index of this C1MenuItem in its parent items collection. |
IsCheckable | Gets or sets a value that indicates whether a C1MenuItem can be checked. |
IsChecked | Gets or sets a value that indicates whether the C1MenuItem is checked. |
IsEnabled | gets or set whether the node is enable or not. |
IsHighlighted | Gets or sets a value that indicates whether a C1MenuItem is highlighted. |
IsIndented | Gets or sets whether the Indent band is displayed. |
IsMaster | |
IsSubmenuOpen | Gets or sets a value that indicates whether the submenu of the C1MenuItem is open. |
Level | Gets the nesting level. |
Menu | Gets the top level menu. |
MenuList | Gets the parent menu list. |
MenuStyle | Gets or sets the style aplied to the sub-menus. |
OnSubMenuClosedCallBack | Called when sub-menu is closed. |
OnSubMenuOpenedCallBack | Called when sub-menu is opened. |
OpenIconStyle | Gets or sets the style of the open icon. |
OpenIconTemplate | Gets or sets the template of the icon used to show this item has a sub-menu. |
OpenIconVisibility | Gets the visibility of the open icon. |
OpenedBackground | Gets or sets the C1Color used in a menu item when this item is opened. |
ParentCollection | |
ParentItem | Gets the parent menu item. |
SeparatorStyle | Gets or sets the style of the separator items. |
ShowOpenIcon | Gets or sets whether the open icon is displayed, provided the sub menu has items. |
SubMenuMaxHeight | Gets or sets a value that indicates the MaxHeight of the SubMenu. |
Name | Description |
---|---|
BuildRenderTree(RenderTreeBuilder) | |
Dispose(bool) | |
GetParentContainer() | |
OnAfterRender(bool) | |
OnChecked(MenuItemEventArgs) | Responds to a check item action by raising a Checked event. |
OnClick(MenuItemEventArgs) | Responds to a click action by raising a Click event. |
OnMouseEnter() | Called when the mouse pointer enters the bounds of the header element. |
OnMouseLeave() | Called when the mouse pointer leaves the bounds of the header element. |
OnPropertyChanged(string) | Called when a property changed. |
OnSubmenuClosed(MenuItemEventArgs) | Responds to a closed item action by raising a SubmenuClosed event. |
OnSubmenuClosing(CancelMenuItemEventArgs) | Responds to a close item action by raising a SubmenuClosing event. |
OnSubmenuOpened(MenuItemEventArgs) | Responds to an open item action by raising a SubmenuOpened event. |
OnSubmenuOpening(CancelMenuItemEventArgs) | Responds to an open item action by raising a SubmenuOpening event. |
OnUnchecked(MenuItemEventArgs) | Responds to an uncheck item action by raising a Unchecked event. |
SetParametersAsync(ParameterView) |
Name | Description |
---|---|
Checked | Occurs when a C1MenuItem is checked. |
Click | Occurs when the C1MenuItem is clicked. |
PropertyChanged | Occurs when a property changed. |
SubmenuClosed | Occurs when the state of the IsSubmenuOpen property changes to false. |
SubmenuClosing | Occurs when a submenu is closing. |
SubmenuOpened | Occurs when the state of the IsSubmenuOpen property changes to true. |
SubmenuOpening | Occurs when a submenu is opening. |
Unchecked | Occurs when a C1MenuItem is unchecked. |