System.Windows.Forms.Form.UpdateDefaultButton Method

Updates which button is the default button.

Syntax

protected override void UpdateDefaultButton ()

Remarks

The Form.UpdateDefaultButton method determines which button on the form raises its Click event when the user presses ENTER, according to the following priority:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0