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 root items of the current KaxMenu control. By default
the collection is empty (KaxMenu has no children).
Implements
IKaxMenuItemContainerItemsRemarks
Use the Items property to access the root items of the KaxMenu control. You can also use the Items property to
manage the root items - you can add, remove or modify items.
Examples
The following example demonstrates how to programmatically modify the properties of a root item.
KaxMenu1.Items[0].Text = "Example";
KaxMenu1.Items[0].NavigateUrl = "http://www.example.com";
KaxMenu1.Items(0).Text = "Example"
KaxMenu1.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