APNSoft Controls [4.5.2.20] - API Reference
MenuElement Methods

The methods of the MenuElement class are listed below. For a complete list of MenuElement class members, see the MenuElement Members topic.

Public Instance Methods

AddChildOverloaded. Adds a new element to the end of the list of child elements.
AddChildItemOverloaded. Adds a new item to the end of the list of child elements.
AddChildSeparatorOverloaded. Adds a new separator to the end of the list of child elements.
AddSiblingOverloaded. Adds a new element as a sibling to the current element. New element is added after the current element.
AddSiblingItemOverloaded. Adds a new item as a sibling to the current element. New item is added after the current element.
AddSiblingSeparatorOverloaded. Adds a new separator as a sibling to the current element. New separator is added after the current element.
CloneOverloaded. Creates a duplicate of this element. Child elements are not duplicated.
CloneToParentOverloaded. Creates a duplicate of this element. Inserts the duplicated element to specified parent element. Child elements are not duplicated.
CloneToRootOverloaded. Creates a duplicate of this element. Inserts the duplicated element to the root of collection. Child elements are not duplicated.
MoveBackward (inherited from APNSoftElement) Moves the element backward by one position in the current element group.
MoveForward (inherited from APNSoftElement) Moves the element forward by one position in the current element group.
MoveToParent Moves the element to specified parent element.
MoveToRoot Moves the element to the root.
Remove (inherited from APNSoftElement) Removes specified element from the collection.
RemoveChilds Removes child elements.

See Also

MenuElement Class | APNSoft.WebControls Namespace