The properties of the MenuElement class are listed below. For a complete list of MenuElement class members, see the MenuElement Members topic.
AutoPostBackOnItemClick (inherited from APNSoftElement) | Gets or sets a value indicating whether the control causes a postback to the server when the item is clicked. |
ChildElements | Gets all the child elements of the element. |
ClientSideOnItemClick (inherited from APNSoftElement) | Gets or sets the name of the client-side function to be called when an item is clicked. Can include variables $ComponentID$, $ItemID$ and $Title$. Each variable is replaced to the corresponding value. |
CSS_ItemHoveredTD | Gets or sets the name of the CSS class used for precise item customization. It is applied to the hovered item TD. |
CSS_ItemSelectedTD | Gets or sets the name of the CSS class used for precise item customization. It is applied to the selected item TD. |
CSS_ItemTD | Gets or sets the name of the CSS class used for precise item customization. It is applied to the item TD. |
CSS_SeparatorTD | Gets or sets the name of the CSS class used for precise separator customization. It is applied to the separator TD. |
CSS_SubMenuDIV | Gets or sets the name of the CSS class used for precise submenu customization. It is applied to the submenu DIV. |
HasChildElements | Gets a value indicating whether this element has any child elements. |
HasNextSibling | Gets a value indicating whether this element has a sibling element immediately following it. |
HasParentElement | Gets a value indicating whether this element has parent element. |
HasPreviousSibling | Gets a value indicating whether this element has a sibling element immediately preceding it. |
href (inherited from APNSoftElement) | Gets or sets URL the browser is directed to when a user clicks the item. Property value can include variables $ComponentID$, $ItemID$ and $Rnd$. Each variable is replaced to the corresponding value. The $Rnd$ displays a random number. It can be used as an additional parameter to avoid page caching in browser. |
icon (inherited from APNSoftElement) | Gets or sets the name of the one item's icon image. The icon displayed at the left side of the item. |
iconHeight (inherited from APNSoftElement) | Gets or sets the pixel height of the item's icon. |
iconOver | Gets or sets the name of the icon for hovered item. |
iconWidth (inherited from APNSoftElement) | Gets or sets the pixel width of the item's icon. |
id (inherited from APNSoftElement) | Gets or sets a value that identifies the Element. If the id attribute is not specified, the component will automatically set it for each Element. |
image | Gets or sets the name of the picture, used as one menu element. |
imageHeight | Gets or sets the pixel height of the element image. |
imageOver | Gets or sets the name of the picture, used for hovered item. |
imageWidth | Gets or sets the pixel width of the element image. |
NextSibling | Gets the element immediately following this element. |
ParentElement | Gets the parent of this element (for elements that can have parents). |
PreviousSibling | Gets the element immediately preceding this element. |
roles | Gets or sets a collection of user roles that are associated with the Menu Element. |
selected | Gets or sets a value indicating whether the item is selected. Default value is false. |
SubMenuMarginLeft | Gets or sets the width of the left margin of the submenu. |
SubMenuMarginTop | Gets or sets the width of the top margin of the submenu. |
target (inherited from APNSoftElement) | Gets or sets the target window or frame to load Web page content into when a user clicks the item. |
Template | Gets or sets the path to the template file for the Element. The property value can be an absolute or relative URI. |
title (inherited from APNSoftElement) | Gets or sets the text (caption) displayed for the item. |
tooltip | Gets or sets the tooltip text for the menu item. |
Type (inherited from APNSoftElement) | Gets or sets a type of the Element. |
MenuElement Class | APNSoft.WebControls Namespace