KaxMenuItemCollectionAdd Method |
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic virtual void Add(
KaxMenuItem item
)
Public Overridable Sub Add (
item As KaxMenuItem
)
public:
virtual void Add(
KaxMenuItem^ item
)
abstract Add :
item : KaxMenuItem -> unit
override Add :
item : KaxMenuItem -> unit
Parameters
- item
- Type: Kettic.AspNet.ControlsKaxMenuItem
The KaxMenuItem to append to the end of the current KaxMenuItemCollection.
Examples
The following example demonstrates how to programmatically add items in a
KaxMenu control.
KaxMenuItem newsItem = new KaxMenuItem("News");
KaxMenu1.Items.Add(newsItem);
Dim newsItem As KaxMenuItem = New KaxMenuItem("News")
KaxMenu1.Items.Add(newsItem)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also