KeyPreview Property
See Also 
SourceCode.Workflow.WizardFramework.Authentication Namespace > CredentialsDialog Class : KeyPreview Property



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<DefaultValueAttribute()>
<SRDescriptionAttribute("Determines whether keyboard events for controls on the form are registered with the form.")>
Public Property KeyPreview As Boolean
Visual Basic (Usage) Copy Code
Dim instance As CredentialsDialog
Dim value As Boolean
 
instance.KeyPreview = value
 
value = instance.KeyPreview
C#  
[DefaultValue()]
[SRDescription("Determines whether keyboard events for controls on the form are registered with the form.")]
public bool KeyPreview {get; set;}
C++/CLI  
[DefaultValue()]
[SRDescription("Determines whether keyboard events for controls on the form are registered with the form.")]
public:
property bool KeyPreview {
   bool get();
   void set (    bool value);
}

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also