Click or drag to resize
KaxToolBarButton Constructor (String)
Initializes a new instance of the KaxToolBarButton 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 KaxToolBarButton(
	string text
)

Parameters

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

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

Examples
The following example demonstrates how to add items to KaxToolBar controls.
[New Example]
KaxToolBarButton button = new KaxToolBarButton("Create New");
button.CommandName = "CreateNew";
button.ImageUrl = "~/ToolBarImages/CreateNew.gif";

KaxToolBar1.Items.Add(button);
[New Example]
Dim button As New KaxToolBarButton("Create New")
button.CommandName = "CreateNew"
button.ImageUrl = "~/ToolBarImages/CreateNew.gif"

KaxToolBar1.Items.Add(button)
See Also