APNSoft Controls [4.5.2.20] - API Reference
MenuElement.AddSiblingItem Method (String, String)

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

[Visual Basic]
Overloads Public Function AddSiblingItem( _
   ByVal NewID As String, _
   ByVal Title As String _
) As MenuElement
[C#]
public MenuElement AddSiblingItem(
   string NewID,
   string Title
);

Parameters

NewID
ID of the new item.
Title
The text (caption) displayed for the item.

Return Value

New item element.

See Also

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