The C1Menu type exposes the following members.

Constructors

  NameDescription
Public methodC1Menu

Methods

  NameDescription
Public methodAddCssClass (Inherited from Control.)
Public methodAddItemElement
Public methodAssignPropertiesState
Assigns the properties state hash that used to retrieve and store properties values.
(Inherited from C1ThemeableControlBase.)
Public methodBeginUpdate (Inherited from Component.)
Public methodCreateInstance
Creates the instance of the class. Type of the class can be determined by value of the DOM element's className.
(Inherited from C1ThemeableControlBase.)
Public methodDispose
Releases unmanaged and - optionally - managed resources.
(Overrides ComponentDispose()()()().)
Public methodEndUpdate (Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetVisualStyleCssClassName
Gets the name of the visual style CSS class.
Public methodHide
Hides this menu.
Public methodHideInactiveItems
Hides an inactive menu items that not located in active path.
Public methodHideSubMenu
Hides the sub menu.
Public methodHighlightMenuPath
Highlights the menu path.
Public methodInitialize
Initializes the menu.
(Overrides ComponentInitialize()()()().)
Public methodInitializeItems
InitializeItems.
Public methodInvalidate
Invalidates this instance.
(Overrides C1ThemeableControlBaseInvalidate()()()().)
Protected methodOnBubbleEvent (Inherited from Control.)
Protected methodRaiseBubbleEvent (Inherited from Control.)
Protected methodRaiseClientItemBlur
Raises ItemBlur event for client.
Protected methodRaiseClientItemClick
Raises ItemClick event for client.
Protected methodRaiseClientItemFocus
Raises ItemFocus event for client.
Protected methodRaiseClientItemMouseDown
Raises ItemMouseDown event for client.
Protected methodRaiseClientItemMouseOut
Raises ItemMouseOut event for client.
Protected methodRaiseClientItemMouseOver
Raises ItemMouseOver event for client.
Protected methodRaiseClientItemMouseUp
Raises ItemMouseUp event for client.
Protected methodRaisePropertyChanged (Inherited from Component.)
Public methodRemoveCssClass (Inherited from Control.)
Public methodRemoveItemElement
Public methodSaveState
Saves the properties state.
(Inherited from C1ThemeableControlBase.)
Public methodToggleCssClass (Inherited from Control.)
Public methodToLocaleString (Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodUpdated (Inherited from Component.)

Fields

  NameDescription
Protected field_propertiesState (Inherited from C1ThemeableControlBase.)
Public fieldNestedGroupContainer
Sub menu or nested group container element. Null if this item does not have sub menu or nested group.

Properties

  NameDescription
Public propertyAccessKey
Gets or sets access key for menu. If user press specified keyboard shortcut then focus moves on first menu item at the top level.
Public propertyClickToOpen
Indicates that sub menus will open on mouse click instead of mouse over. Default value is false.
Public propertyCollapseAnimation
Gets or sets the animation effect that will be used for collapsing submenus.
Public propertyCollapseDelay
Gets or sets the collapse delay in milliseconds before the sub menu starts hiding. Default value is 100.
Public propertyCollapseDuration
Collapse Animation duration in milliseconds.
Public propertyCollapseEasing
Specifies the transition for collapse animation.
Public propertyContextElementID
Id of the HTML element what will expose Context Menu when ContextMenu property is true. Default value is empty string - means what context menu will be shown for document.
Public propertyContextMenu
Specifies whether the menu is context.
Public propertyDisplayVisible
Gets or Sets whether C1Menu is visible.
Protected propertyElement (Inherited from Control.)
Public propertyEnabled
Gets or sets a value indicating whether this C1Menu is enabled.
Protected propertyEvents (Inherited from Component.)
Public propertyExpandAnimation
Gets or sets animation effect what will be used for expanding submenus. Possible values: none, sliding, transition. Default value is none.
Public propertyExpandDelay
Expand delay in milliseconds before sub menu start popup. Default value is 100.
Public propertyExpandDuration
Expand Animation duration in milliseconds.
Public propertyExpandEasing
Specifies the transition for expand animation.
Public propertyFlowRight
Gets or sets a value that indicates whether or not children will flow to the right side of the control.
Public propertyHoverElementID
Menu will be shown when mouse is over element given by this property.

Remarks

Default value is empty string. Note this property is usable when ContextMenu property is true.
Public propertyID (Inherited from Component.)
Protected propertyIsInitialized (Inherited from Component.)
Protected propertyIsUpdating (Inherited from Component.)
Public propertyItems
Public propertyNestedGroupCheckable
Gets or sets a value that indicates whether or not child menu items will be checkable.
Public propertyOrientation
Get or sets menu orientation dynamically on client side.
Public propertyOwner
Public propertyParent (Inherited from Control.)
Public propertyPropertiesState
Constructs a state characterized by dictionary properties.
(Inherited from C1ThemeableControlBase.)
Public propertyScrollBehavior
Gets the scroll behavior object.
Public propertyVisibilityMode (Inherited from Control.)
Public propertyVisible (Inherited from Control.)
Public propertyVisualStyle
Gets or sets the visual style name used by the control.
(Inherited from C1ThemeableControlBase.)
Public propertyWindowCollisionDetection
Determines whether or not submenu position will be adjusted to fit in window bounds.

Events

  NameDescription
Public eventDisposing (Inherited from Component.)
Public eventHidden
Occurs if the menu is hidden.
Public eventHiding
Occurs if the menu is hiding.
Public eventItemBlur
Occurrs when the focus leaves the menu item.
Public eventItemChecked
Occurs when the menu item is checked.
Public eventItemClick
Occurrs when the menu item is clicked.
Public eventItemFocus
Occurrs when the menu item receives focus.
Public eventItemMouseDown
Occurrs when the mouse pointer moves down the menu item.
Public eventItemMouseOut
Occurrs when the mouse pointer moves out of the menu item.
Public eventItemMouseOver
Occurrs when the mouse pointer moves over the menu item.
Public eventItemMouseUp
Occurrs when the mouse pointer moves up the menu item.
Public eventItemUnChecked
Occurs when the menu item is unchecked.
Public eventPropertyChanged (Inherited from Component.)
Public eventScrollBehaviorInit
Occurs when scroll behavior initialized.
Public eventShowing
Occurs before show context menu.
Public eventShown
Occurs when the context menu shown.

See Also