The C1MenuItemBase type exposes the following members.

Constructors

  NameDescription
Public methodC1MenuItemBase
Default constructor.

Methods

  NameDescription
Public methodAddChild
Add child
(Inherited from UIElement.)
Public methodAddCssClass
Add CssClass to DOM element.
(Inherited from UIElement.)
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.
Protected methodCreateChildControls
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
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize (Overrides UIElementInitialize()()()().)
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.
Protected methodRecurInitMenuItemElement
Public methodRemoveCssClass
Remove CssClass from DOM element.
(Inherited from UIElement.)
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.)

Fields

  NameDescription
Protected field_owner
Protected field_propertiesState (Inherited from UIElement.)
Public fieldElement
Associated DOM Element.
(Inherited from UIElement.)
Protected fieldEvents
Event handlers field.
Public fieldImgElement
Element with Image.
Public fieldMenuItemElement
MenuItem element (first element after Li tag).
Public fieldTextElement
Element with text.
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
Public propertyDisabledImageUrl
Url path to image that will be displayed for the disabled item.
Public propertyDisplayVisible
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
Public propertyFirstSibling
Gets the first sibling item.
Public propertyGroup
Gets or sets whether child Items will be grouped within this item.
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.
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.
Public propertyImageUrl
Gets or sets the path to an image to display for the item. Default value is empty string.
Public propertyIndex
index of the menuitem.
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.)
Public propertyLastSibling
Gets the last sibling item.
Public propertyLevel
Gets zero-based Level of the current sub menu.
Public propertyMenu
Returns the instance of the top level menu.
Public propertyNextSibling
Gets the next sibling item.
Public propertyOffsetSize
Gets Offset size of the DOM element(offsetWidth and offsetHeight).
(Inherited from UIElement.)
Public propertyOwner
Owner of C1menuitem
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.
Public propertyPropertiesState
Hash object what contains values of the properties.
(Inherited from UIElement.)
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.
Public propertyText
Gets or sets the text caption for the menu item.
Public propertyValue
Gets or sets the value for the menu item.
Public propertyVisible
Gets or sets visibility state of the element.
(Inherited from UIElement.)

See Also