'Declaration Public Event ToolbarClick As ToolbarClickEventHandler
public event ToolbarClickEventHandler ToolbarClick
The event handler receives an argument of type ToolbarEventArgs containing data related to this event. The following ToolbarEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Item | Gets the ToolbarButton object responsible for this event. |
A ToolbarButton can raise a postback if it's ToolbarButton.RaisePostback property is true. When this occurs, the ToolbarClick will be raised. A ToolbarClickEventArgs object will be passed into this event. This object will include a ToolbarClickEventArgs.Button property which encapsulates the button which was clicked.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2