The C1MenuItemBase type exposes the following members.

Constructors

  NameDescription
C1MenuItemBase
Default constructor.

Methods

  NameDescription
AddChild
Add child
(Inherited from UIElement.)
AddCssClass
Add CssClass to DOM element.
(Inherited from UIElement.)
AssignPropertiesState
Assigns new properties state hash.
(Inherited from UIElement.)
BeginUpdate
Begin Update.
(Inherited from UIElement.)
CalculateCurrentLevel
Returns zero-based Level of current item.
(Inherited from C1Item.)
CreateInstance
Creates the instance of the class. Type of the class can be determined by value of the DOM element's className.
(Inherited from C1Item.)
Dispose
Dispose.
(Inherited from C1Item.)
EndUpdate
End Update.
(Inherited from UIElement.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Initialize
Initialize.
(Inherited from C1Item.)
InitializeItems (Inherited from C1Item.)
Invalidate
Invalidates the entire surface of the control and causes the control to be redrawn. Do Layout actions here.
(Inherited from UIElement.)
IsDOMVisible
Returns true if control's container element is visible.
(Inherited from UIElement.)
RemoveCssClass
Remove CssClass from DOM element.
(Inherited from UIElement.)
ToggleCssClass
Toggle CssClass for DOM element.
(Inherited from UIElement.)
ToLocaleString (Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
_items (Inherited from C1Item.)
_owner (Inherited from C1Item.)
_propertiesState (Inherited from UIElement.)
Element
Associated DOM Element.
(Inherited from UIElement.)
Events
Event handlers field.
ImgElement
Element with Image.
MenuItemElement
MenuItem element (first element after Li tag).
TextElement
Element with text.
UID
Unique ID of the this UIElement.
(Inherited from UIElement.)

Properties

  NameDescription
Children
Gets the list of child UIElements contained in this UIElement.
(Inherited from UIElement.)
ClientID
Gets associated ClientID.
(Inherited from UIElement.)
DisabledImageUrl
Url path to image that will be displayed for the disabled item.
HasChildren
Gets a value that indicates the UIElement has a non-empty Children()()() collection.
(Inherited from UIElement.)
ID
Gets the ID of the DOM element.
(Inherited from UIElement.)
ImagePosition
Gets or sets which side, left or right, the image will be rendered from the menu item.
ImageUrl
Gets or sets the path to an image to display for the item. Default value is empty string.
Index (Inherited from C1Item.)
IsInitialized
Gets a value indicating whether this instance is initialized.
(Inherited from UIElement.)
IsUpdating
Gets a value indicating whether this instance is updating.
(Inherited from UIElement.)
Items (Inherited from C1Item.)
OffsetSize
Gets Offset size of the DOM element(offsetWidth and offsetHeight).
(Inherited from UIElement.)
Owner (Inherited from C1Item.)
Parent
Gets the UIElement's parent, or null if this is the root element.
(Inherited from UIElement.)
PropertiesState
Hash object what contains values of the properties.
(Inherited from UIElement.)
Text
Gets or sets the text caption for the menu item.
Visible
Gets or sets visibility state of the element.
(Inherited from UIElement.)

See Also