KaxMenuItemItems Property |
Namespace: Kettic.AspNet.ControlsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax [PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public KaxMenuItemCollection Items { get; }
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public ReadOnly Property Items As KaxMenuItemCollection
Get
public:
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
virtual property KaxMenuItemCollection^ Items {
KaxMenuItemCollection^ get () sealed;
}
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
abstract Items : KaxMenuItemCollection with get
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
override Items : KaxMenuItemCollection with get
Property Value
Type:
KaxMenuItemCollection
A
KaxMenuItemCollection that contains the child items of the current KaxMenuItem. By default
the collection is empty (the item has no children).
Implements
IKaxMenuItemContainerItemsRemarks
Use the Items property to access the child items of the KaxMenuItem. You can also use the Items property to
manage the child items - you can add, remove or modify items.
Examples
The following example demonstrates how to programmatically modify the properties of a child item.
KaxMenuItem item = KaxMenu1.FindItemByText("Test");
item.Items[0].Text = "Example";
item.Items[0].NavigateUrl = "http://www.example.com";
Dim item As KaxMenuItem = KaxMenu1.FindItemByText("Test")
item.Items(0).Text = "Example"
item.Items(0).NavigateUrl = "http://www.example.com"
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