'Declaration Public Event BeforeButtonClicked As BeforeButtonClickedEventHandler
public event BeforeButtonClickedEventHandler BeforeButtonClicked
The event handler receives an argument of type OnBeforeButtonClickedEventArgs containing data related to this event. The following OnBeforeButtonClickedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Button | The button pressed |
Cancel (Inherited from System.ComponentModel.CancelEventArgs) |
Private Sub UltraCalculatorDropDown1_BeforeButtonClicked(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinEditors.UltraWinCalc.OnBeforeButtonClickedEventArgs) Handles UltraCalculatorDropDown1.BeforeButtonClicked ' This event fires when the user presses any button. It is cancellable. Debug.WriteLine(String.Format("BeforeButtonClicked {0}", e.Button.Text)) End Sub
using System.Diagnostics; private void ultraCalculatorDropDown1_BeforeButtonClicked(object sender, Infragistics.Win.UltraWinEditors.UltraWinCalc.OnBeforeButtonClickedEventArgs e) { // This event fires when the user presses any button. It is cancellable. Debug.WriteLine(string.Format("BeforeButtonClicked {0}",e.Button.Text)); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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