Function
This event occurs when the button is pressed and held (pressed).
Format
dncButton1_OnPress(object sender, ButtonPressEventArgs e)
Parameters
sender [ C#: object ] [ VB.NET: object ]
Event source.
e [ C#: ButtonPressEventArgs ] [ VB.NET: ButtonPressEventArgs ]
Event arguments. Details are shown below.
Event argument
Arguments |
C# Type |
VB.NET Type |
Description |
Value |
byte |
Byte |
The value of the button when the event occurs. |
Remarks
This event occurs when the button is pressed and held (pressed).