The C1MenuItem type exposes the following members.

Methods

  NameDescription
Public methodActivateMenuItem
Activates the menu item.
Public methodAddChild
Add child
(Inherited from UIElement.)
Public methodAddCssClass (Overrides UIElementAddCssClass(String).)
Protected methodAddCssClassBeforeInsert (Overrides C1MenuItemOwner..::..AddCssClassBeforeInsert()()()().)
Public methodAddItemElement (Inherited from C1MenuItemOwner.)
Public methodAssignPropertiesState
Assigns new properties state hash.
(Inherited from UIElement.)
Public methodBeginUpdate
Begin Update.
(Inherited from UIElement.)
Public methodCalculateCurrentLevel
Returns zero-based Level of current item.
(Inherited from C1MenuItemBase.)
Protected methodCreateChildControls (Overrides C1MenuItemBase..::..CreateChildControls()()()().)
Public methodCreateInstance
Creates the instance of the class. Type of the class can be determined by value of the DOM element's className.
(Overrides UIElementCreateInstance(DOMElement).)
Public methodDisplaySubMenu
Display sub menu if any.
Public methodDispose
Releases unmanaged and - optionally - managed resources.
(Inherited from UIElement.)
Public methodEndUpdate
End Update.
(Inherited from UIElement.)
Public methodFocusFirstChild
Focuses the first child menu item.
Public methodFocusNext
Set active focus to the next selectable sibling item.
Public methodFocusParent
Set active focus to the parent item.
Public methodFocusPrev
Set active focus to the previous selectable sibling item.
Protected methodGetConditionalImageUrl (Inherited from C1MenuItemBase.)
Public methodGetFirstChildFocusableItem
Returns first focusable child menu item. Returns null if focusable item not found in Items collection.
Protected methodGetNestedGroupOrientation (Overrides C1MenuItemOwner..::..GetNestedGroupOrientation()()()().)
Public methodGetPrevFocusableItem
Returns next sibling focusable menu item.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasMenuItems
Determines whether this menu item has child menu items.
Public methodHideSubMenu
Hides sub menu.
Public methodInitialize
Called when the menu item is initialized.
(Inherited from C1MenuItemOwner.)
Public methodInitializeItems
InitializeItems.
(Inherited from C1MenuItemOwner.)
Protected methodInitializeScrollBehavior (Inherited from C1MenuItemOwner.)
Protected methodInternalInitialize
Internal initialize.
(Inherited from C1MenuItemOwner.)
Public methodInvalidate
Invalidates the entire surface of the control and causes the control to be redrawn. Do Layout actions here.
(Inherited from UIElement.)
Public methodIsDOMVisible
Returns true if control's container element is visible.
(Inherited from UIElement.)
Public methodIsSelectableItem
whether this menu item is selectable
(Overrides C1MenuItemBase..::..IsSelectableItem()()()().)
Public methodOnClick
Called when the mouse clicks the menu item.
Public methodOnMouseDown
Called when the mouse moves down the menu item.
Public methodOnMouseOut
Called when the mouse moves away from the menu item.
Public methodOnMouseOver
Called when the mouse moves over them menu item.
Public methodOnMouseUp
Called when the mouse moves up the menu item.
Protected methodParentScrollBehaviorInitialized (Inherited from C1MenuItemOwner.)
Protected methodRecurCheckEnabledState (Inherited from C1MenuItemOwner.)
Protected methodRecurInitMenuItemElement (Inherited from C1MenuItemBase.)
Public methodRemoveCssClass (Overrides UIElementRemoveCssClass(String).)
Public methodRemoveItemElement (Inherited from C1MenuItemOwner.)
Protected methodSetNestedGroupOrientation
Set sub-menu or nested group orientation.
(Inherited from C1MenuItemOwner.)
Public methodToggleCssClass
Toggle CssClass for DOM element.
(Inherited from UIElement.)
Public methodToggleDisplaySubMenu
Show sub menu if sub menu is hidden or hide sub menu if sub menu is shown.
Public methodToLocaleString (Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodUpdateNestedGroupContainerCompoundCssClass (Inherited from C1MenuItemOwner.)

See Also