System.Windows.Forms.KeyPressEventArgs.Handled Property

Gets or sets a value indicating whether the Control.KeyPress event was handled.

Syntax

public bool Handled { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the event is not handled, it will be sent to the operating system for default processing. Set KeyPressEventArgs.Handled to true to cancel the KeyPress event.

Requirements

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