APNSoft Controls [4.5.2.20] - API Reference
MenuElement.AddSibling Method (Types)

Adds a new element as a sibling to the current element. New element is added after the current element.

[Visual Basic]
Overloads Public Function AddSibling( _
   ByVal Type As Types _
) As MenuElement
[C#]
public MenuElement AddSibling(
   Types Type
);

Parameters

Type
Type of the new element.

Return Value

New element.

Remarks

Element ID is generated automatically.

See Also

MenuElement Class | APNSoft.WebControls Namespace | MenuElement.AddSibling Overload List