Allows a control to act like a button on a form.
IButtonControl
[Visual Basic] Public Interface IButtonControl [C#] public interface IButtonControl [C++] public __gc __interface IButtonControl
[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.
Class | Description |
---|---|
Button | Represents a standard Windows button. |
LinkLabel | Displays text that can contain a hyperlink. |
Forms have two places where this interface might be implemented: default and cancel button processing. Default buttons are notified when an unprocessed ENTER key is entered for a form, just like a dialog would be closed. Similarily, cancel buttons are notified whenever an unprocessed ESC key is entered on a form, much like a dialog would be dismissed.
Namespace: System.WinForms
Assembly: System.WinForms.dll
IButtonControl Members | System.WinForms Namespace | Button | Form