The C1Menu type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1Menu |
Methods
Name | Description | |
---|---|---|
AddCssClass | (Inherited from Control.) | |
AddItemElement | ||
AssignPropertiesState |
Assigns the properties state hash that used to retrieve and store properties values.
(Inherited from C1ThemeableControlBase.) | |
BeginUpdate | (Inherited from Component.) | |
CreateInstance |
Creates the instance of the class.
Type of the class can be determined by value of the DOM element's className.
(Inherited from C1ThemeableControlBase.) | |
Dispose |
Releases unmanaged and - optionally - managed resources.
(Overrides ComponentDispose()()()().) | |
EndUpdate | (Inherited from Component.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
GetVisualStyleCssClassName |
Gets the name of the visual style CSS class.
| |
Hide |
Hides this menu.
| |
HideInactiveItems |
Hides an inactive menu items that not located in active path.
| |
HideSubMenu |
Hides the sub menu.
| |
HighlightMenuPath |
Highlights the menu path.
| |
Initialize |
Initializes the menu.
(Overrides ComponentInitialize()()()().) | |
InitializeItems |
InitializeItems.
| |
Invalidate |
Invalidates this instance.
(Overrides C1ThemeableControlBaseInvalidate()()()().) | |
OnBubbleEvent | (Inherited from Control.) | |
RaiseBubbleEvent | (Inherited from Control.) | |
RaiseClientItemBlur |
Raises ItemBlur event for client.
| |
RaiseClientItemClick |
Raises ItemClick event for client.
| |
RaiseClientItemFocus |
Raises ItemFocus event for client.
| |
RaiseClientItemMouseDown |
Raises ItemMouseDown event for client.
| |
RaiseClientItemMouseOut |
Raises ItemMouseOut event for client.
| |
RaiseClientItemMouseOver |
Raises ItemMouseOver event for client.
| |
RaiseClientItemMouseUp |
Raises ItemMouseUp event for client.
| |
RaisePropertyChanged | (Inherited from Component.) | |
RemoveCssClass | (Inherited from Control.) | |
RemoveItemElement | ||
SaveState |
Saves the properties state.
(Inherited from C1ThemeableControlBase.) | |
ToggleCssClass | (Inherited from Control.) | |
ToLocaleString | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
Updated | (Inherited from Component.) |
Fields
Name | Description | |
---|---|---|
_propertiesState | (Inherited from C1ThemeableControlBase.) | |
NestedGroupContainer |
Sub menu or nested group container element.
Null if this item does not have sub menu or nested group.
|
Properties
Name | Description | |
---|---|---|
AccessKey |
Gets or sets access key for menu. If user press specified keyboard shortcut then focus moves on first menu item at the top level.
| |
ClickToOpen |
Indicates that sub menus will open on mouse click instead of mouse over. Default value is false.
| |
CollapseAnimation |
Gets or sets the animation effect that will be used for collapsing submenus.
| |
CollapseDelay |
Gets or sets the collapse delay in milliseconds before the sub menu starts hiding. Default value is 100.
| |
CollapseDuration |
Collapse Animation duration in milliseconds.
| |
CollapseEasing |
Specifies the transition for collapse animation.
| |
ContextElementID |
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.
| |
ContextMenu |
Specifies whether the menu is context.
| |
DisplayVisible |
Gets or Sets whether C1Menu is visible.
| |
Element | (Inherited from Control.) | |
Enabled |
Gets or sets a value indicating whether this C1Menu is enabled.
| |
Events | (Inherited from Component.) | |
ExpandAnimation |
Gets or sets animation effect what will be used for expanding submenus. Possible values: none, sliding, transition. Default value is none.
| |
ExpandDelay |
Expand delay in milliseconds before sub menu start popup.
Default value is 100.
| |
ExpandDuration |
Expand Animation duration in milliseconds.
| |
ExpandEasing |
Specifies the transition for expand animation.
| |
FlowRight |
Gets or sets a value that indicates whether or not
children will flow to the right side of the control.
| |
HoverElementID |
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.
| |
ID | (Inherited from Component.) | |
IsInitialized | (Inherited from Component.) | |
IsUpdating | (Inherited from Component.) | |
Items | ||
NestedGroupCheckable |
Gets or sets a value that indicates whether or not child menu items will be checkable.
| |
Orientation |
Get or sets menu orientation dynamically on client side.
| |
Owner | ||
Parent | (Inherited from Control.) | |
PropertiesState |
Constructs a state characterized by dictionary properties.
(Inherited from C1ThemeableControlBase.) | |
ScrollBehavior |
Gets the scroll behavior object.
| |
VisibilityMode | (Inherited from Control.) | |
Visible | (Inherited from Control.) | |
VisualStyle |
Gets or sets the visual style name used by the control.
(Inherited from C1ThemeableControlBase.) | |
WindowCollisionDetection |
Determines whether or not submenu position will be adjusted to fit in window bounds.
|
Events
Name | Description | |
---|---|---|
Disposing | (Inherited from Component.) | |
Hidden |
Occurs if the menu is hidden.
| |
Hiding |
Occurs if the menu is hiding.
| |
ItemBlur |
Occurrs when the focus leaves the menu item.
| |
ItemChecked |
Occurs when the menu item is checked.
| |
ItemClick |
Occurrs when the menu item is clicked.
| |
ItemFocus |
Occurrs when the menu item receives focus.
| |
ItemMouseDown |
Occurrs when the mouse pointer moves down the menu item.
| |
ItemMouseOut |
Occurrs when the mouse pointer moves out of the menu item.
| |
ItemMouseOver |
Occurrs when the mouse pointer moves over the menu item.
| |
ItemMouseUp |
Occurrs when the mouse pointer moves up the menu item.
| |
ItemUnChecked |
Occurs when the menu item is unchecked.
| |
PropertyChanged | (Inherited from Component.) | |
ScrollBehaviorInit |
Occurs when scroll behavior initialized.
| |
Showing |
Occurs before show context menu.
| |
Shown |
Occurs when the context menu shown.
|