The C1MenuItemOwner type exposes the following members.

Constructors

  NameDescription
Public methodC1MenuItemOwner
Default constructor.

Methods

  NameDescription
Public methodAddChild
Add child
(Inherited from UIElement.)
Public methodAddCssClass
Add CssClass to DOM element.
(Inherited from UIElement.)
Protected methodAddCssClassBeforeInsert
Public methodAddItemElement
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 (Inherited from C1MenuItemBase.)
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 UIElement.)
Public methodDispose
Releases unmanaged and - optionally - managed resources.
(Inherited from UIElement.)
Public methodEndUpdate
End Update.
(Inherited from UIElement.)
Protected methodGetConditionalImageUrl (Inherited from C1MenuItemBase.)
Protected methodGetNestedGroupOrientation
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Called when the menu item is initialized.
(Overrides C1MenuItemBase..::..Initialize()()()().)
Public methodInitializeItems
InitializeItems.
Protected methodInitializeScrollBehavior
Protected methodInternalInitialize
Internal initialize.
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
Determines whether this menu item is selectable, this means that item is not group, not separator, not header and this item is not disabled. If item is not selectable (return false) then this item can not be marked by C1Active class when mouse is down on it.
(Inherited from C1MenuItemBase.)
Protected methodParentScrollBehaviorInitialized
Protected methodRecurCheckEnabledState
Protected methodRecurInitMenuItemElement (Inherited from C1MenuItemBase.)
Public methodRemoveCssClass
Remove CssClass from DOM element.
(Inherited from UIElement.)
Public methodRemoveItemElement
Protected methodSetNestedGroupOrientation
Set sub-menu or nested group orientation.
Public methodToggleCssClass
Toggle CssClass for DOM element.
(Inherited from UIElement.)
Public methodToLocaleString (Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Protected methodUpdateNestedGroupContainerCompoundCssClass

Fields

  NameDescription
Protected field_owner (Inherited from C1MenuItemBase.)
Protected field_propertiesState (Inherited from UIElement.)
Protected field_scrollBehavior
Public fieldElement
Associated DOM Element.
(Inherited from UIElement.)
Protected fieldEvents
Event handlers field.
(Inherited from C1MenuItemBase.)
Public fieldImgElement
Element with Image.
(Inherited from C1MenuItemBase.)
Public fieldMenuItemElement
MenuItem element (first element after Li tag).
(Inherited from C1MenuItemBase.)
Public fieldNestedGroupContainer
NestedGroup container element. Null if this item does not have sub menu or nested group.
Public fieldScrollContainer
Public fieldTextElement
Element with text.
(Inherited from C1MenuItemBase.)
Public fieldUID
Unique ID of the this UIElement.
(Inherited from UIElement.)

Properties

  NameDescription
Public propertyChildren
Gets the list of child UIElements contained in this UIElement.
(Inherited from UIElement.)
Public propertyClientID
Gets associated ClientID.
(Inherited from UIElement.)
Protected propertyClientType
Gets client type of the C1MenuItemBase
(Inherited from C1MenuItemBase.)
Public propertyDisabledImageUrl
Url path to image that will be displayed for the disabled item.
(Inherited from C1MenuItemBase.)
Public propertyDisplayVisible
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Inherited from C1MenuItemBase.)
Public propertyEnabled
Gets or sets a value indicating whether the Menu item is enabled.
Public propertyFirstSibling
Gets the first sibling item.
(Inherited from C1MenuItemBase.)
Protected propertyFlowRight
Gets or sets a value that indicates whether or not children will flow to the right side of the control.
Public propertyGroup
Gets or sets whether child Items will be grouped within this item.
(Inherited from C1MenuItemBase.)
Public propertyHasChildren
Gets a value that indicates the UIElement has a non-empty Children()()()() collection.
(Inherited from UIElement.)
Public propertyHeader
Gets or sets whether the item is header and will be used as group title. This means what heading tags h1?h6 will be used to render text inside item.
(Inherited from C1MenuItemBase.)
Public propertyID
Gets the ID of the DOM element.
(Inherited from UIElement.)
Public propertyImagePosition
Gets or sets which side, left or right, the image will be rendered from the menu item.
(Inherited from C1MenuItemBase.)
Public propertyImageUrl
Gets or sets the path to an image to display for the item. Default value is empty string.
(Inherited from C1MenuItemBase.)
Public propertyIndex
index of the menuitem.
(Inherited from C1MenuItemBase.)
Public propertyIsInitialized
Gets a value indicating whether this instance is initialized.
(Inherited from UIElement.)
Public propertyIsUpdating
Gets a value indicating whether this instance is updating.
(Inherited from UIElement.)
Protected propertyItemList
Gets the itemList container. null if this item does not have sub menu or nested group.
Public propertyItems
Public propertyLastSibling
Gets the last sibling item.
(Inherited from C1MenuItemBase.)
Public propertyLevel
Gets zero-based Level of the current sub menu.
(Inherited from C1MenuItemBase.)
Public propertyMenu
Returns the instance of the top level menu.
(Inherited from C1MenuItemBase.)
Public propertyNestedGroupCheckable
Public propertyNestedGroupHeight
Gets or sets sub menu or nested group height in pixels.
Public propertyNestedGroupOrientation
Sub-menu or nested group orientation.
Public propertyNestedGroupWidth
Gets or sets sub menu or nested group width in pixels.
Public propertyNextSibling
Gets the next sibling item.
(Inherited from C1MenuItemBase.)
Public propertyOffsetSize
Gets Offset size of the DOM element(offsetWidth and offsetHeight).
(Inherited from UIElement.)
Public propertyOwner
Owner of C1menuitem
(Inherited from C1MenuItemBase.)
Public propertyParent
Gets the UIElement's parent, or null if this is the root element.
(Inherited from UIElement.)
Public propertyPrevSibling
Gets the previous sibling item.
(Inherited from C1MenuItemBase.)
Public propertyPropertiesState
Hash object what contains values of the properties.
(Inherited from UIElement.)
Public propertyScrollBehavior
Gets instance of the ScrollBehavior class that used to scroll grouped menu items.
Public propertySeparator
Gets or sets whether the item is separator. If item is separator then this item automatically becomes unfocusable. For example, keyboard navigation will skip items marked as separator.
(Inherited from C1MenuItemBase.)
Public propertyText
Gets or sets the text caption for the menu item.
(Inherited from C1MenuItemBase.)
Public propertyValue
Gets or sets the value for the menu item.
(Inherited from C1MenuItemBase.)
Public propertyVisible
Gets or sets visibility state of the element.
(Inherited from UIElement.)

See Also