NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IButtonControl Interface

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.

Classes that Implement IButtonControl

Class Description
Button Represents a standard Windows button.
LinkLabel Displays text that can contain a hyperlink.

Remarks

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.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

IButtonControl Members | System.WinForms Namespace | Button | Form