Table of Contents

Property KeyPreview

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

KeyPreview

Gets or sets a value indicating whether the form will receive key events before the event is passed to the control that has focus.

bool KeyPreview { get; set; }

Property Value

bool

true if the form will receive all key events; false if the currently selected control on the form receives key events. The default is false.