NetXP 3.0 Reference

CommandBarButtonItem Constructor (String, EventHandler)

Constructs a new command bar button item with the given text and event handler.

[Visual Basic]
Overloads Public Sub New( _
   ByVal text As String, _
   ByVal onClick As EventHandler _
)
[C#]
public CommandBarButtonItem(
   string text,
   EventHandler onClick
);

Parameters

text
The text of the item.
onClick
The Click event handler.

See Also

CommandBarButtonItem Class | NETXP.Controls.Bars Namespace | CommandBarButtonItem Constructor Overload List