Syntax
Visual Basic (Declaration) | |
---|
<SRDescriptionAttribute("Determines whether keyboard events for controls on the form are registered with the form.")>
<DefaultValueAttribute()>
Public Property KeyPreview As Boolean |
C# | |
---|
[SRDescriptionAttribute("Determines whether keyboard events for controls on the form are registered with the form.")]
[DefaultValueAttribute()]
public bool KeyPreview {get; set;} |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also