ICreate.Controls.Bars Send comments on this topic.
ButtonBarButtonEventHandler Delegate
See Also 
ICreate.Controls.Bars Namespace : ButtonBarButtonEventHandler Delegate






sender
The source of the event.
args
A ButtonBarButtonEventArgs instance containing the event data.
Represents the method that will handle the ButtonBar ItemCold, ItemHot, ItemSelected and SubItemSelected events.

Syntax

Visual Basic (Declaration) 
Public Delegate Sub ButtonBarButtonEventHandler( _
   ByVal sender As Object, _
   ByVal args As ButtonBarButtonEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As New ButtonBarButtonEventHandler(AddressOf HandlerMethod)
C# 
public delegate void ButtonBarButtonEventHandler( 
   object sender,
   ButtonBarButtonEventArgs args
)
Delphi 
public delegate ButtonBarButtonEventHandler( 
    sender: TObject;
    args: ButtonBarButtonEventArgs
);
JScript 
public delegate ButtonBarButtonEventHandler( 
   sender : Object,
   args : ButtonBarButtonEventArgs
)
Managed Extensions for C++ 
public: __gc __delegate void ButtonBarButtonEventHandler( 
   Object* sender,
   ButtonBarButtonEventArgs* args
)
C++/CLI 
public delegate void ButtonBarButtonEventHandler( 
   Object^ sender,
   ButtonBarButtonEventArgs^ args
)

Parameters

sender
The source of the event.
args
A ButtonBarButtonEventArgs instance containing the event data.

Remarks

When you create a ButtonBarButtonEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Events and Delegates.

Requirements

Namespace: ICreate.Controls.Bars

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: ICreate.Controls.Bars (in ICreate.Controls.Bars.dll)

See Also