Click or drag to resize
KaxMenuItem Constructor (String)
Initializes a new instance of the KaxMenuItem class with the specified text data.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public KaxMenuItem(
	string text
)

Parameters

text
Type: SystemString
The text of the item. The Text property is set to the value of this parameter.
Remarks

Use this constructor to create and initialize a new instance of the KaxMenuItem class using the specified text.

Examples
The following example demonstrates how to add items to KaxMenu controls.
[New Example]
KaxMenuItem item = new KaxMenuItem("News");

KaxMenu1.Items.Add(item);
[New Example]
Dim item As New KaxMenuItem("News")

KaxMenu1.Items.Add(item)
See Also