ButtonBase Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base implementation of Button logic. Hardware independent. Inherit for specific hardware handling.
public class ButtonBase : IDisposable
type ButtonBase = class
interface IDisposable
Public Class ButtonBase
Implements IDisposable
- Inheritance
-
ButtonBase
- Derived
- Implements
Button |
Initialization of the button. |
Button |
Initialization of the button. |
Is |
Define if double press event is enabled or disabled on the button. |
Is |
Define if holding event is enabled or disabled on the button. |
Is |
Define if single press event is enabled or disabled on the button. |
Dispose() |
Public dispose method for IDisposable interface. |
Dispose(Boolean) |
Cleanup resources. |
Handle |
Handler for pressing the button. |
Handle |
Handler for releasing the button. |
Button |
Delegate for button down event. |
Button |
Delegate for button up event. |
Double |
Delegate for button double pressed event. |
Holding |
Delegate for button holding event. |
Press |
Delegate for button pressed event. |
Product | Versions |
---|---|
.NET IoT Libraries | 2.0.0, 2.1.0, 2.2.0 |