The C1MenuItemBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
C1MenuItemBase |
Default constructor.
|
Methods
Name | Description | |
---|---|---|
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.
| |
CreateChildControls | ||
CreateInstance |
Creates the instance of the class.
Type of the class can be determined by value of the DOM element's className.
(Inherited from UIElement.) | |
Dispose |
Releases unmanaged and - optionally - managed resources.
(Inherited from UIElement.) | |
EndUpdate |
End Update.
(Inherited from UIElement.) | |
GetConditionalImageUrl | ||
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
Initialize | (Overrides UIElementInitialize()()()().) | |
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.) | |
IsSelectableItem |
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.
| |
RecurInitMenuItemElement | ||
RemoveCssClass |
Remove CssClass from DOM element.
(Inherited from UIElement.) | |
ToggleCssClass |
Toggle CssClass for DOM element.
(Inherited from UIElement.) | |
ToLocaleString | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
_owner | ||
_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
Name | Description | |
---|---|---|
Children |
Gets the list of child UIElements contained in this UIElement.
(Inherited from UIElement.) | |
ClientID |
Gets associated ClientID.
(Inherited from UIElement.) | |
ClientType |
Gets client type of the C1MenuItemBase
| |
DisabledImageUrl |
Url path to image that will be displayed for the disabled item.
| |
DisplayVisible |
Gets or sets a value that indicates whether a server control is rendered
as UI on the page.
| |
FirstSibling |
Gets the first sibling item.
| |
Group |
Gets or sets whether child Items will be grouped within this item.
| |
HasChildren |
Gets a value that indicates the UIElement has a non-empty Children()()()() collection.
(Inherited from UIElement.) | |
Header |
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.
| |
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 |
index of the menuitem.
| |
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.) | |
LastSibling |
Gets the last sibling item.
| |
Level |
Gets zero-based Level of the current sub menu.
| |
Menu |
Returns the instance of the top level menu.
| |
NextSibling |
Gets the next sibling item.
| |
OffsetSize |
Gets Offset size of the DOM element(offsetWidth and offsetHeight).
(Inherited from UIElement.) | |
Owner |
Owner of C1menuitem
| |
Parent |
Gets the UIElement's parent, or null if this is the root element.
(Inherited from UIElement.) | |
PrevSibling |
Gets the previous sibling item.
| |
PropertiesState |
Hash object what contains values of the properties.
(Inherited from UIElement.) | |
Separator |
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.
| |
Text |
Gets or sets the text caption for the menu item.
| |
Value |
Gets or sets the value for the menu item.
| |
Visible |
Gets or sets visibility state of the element.
(Inherited from UIElement.) |