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



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<DefaultValueAttribute()>
<SRDescriptionAttribute("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")>
Public Property CancelButton As IButtonControl
Visual Basic (Usage) Copy Code
Dim instance As CredentialsDialog
Dim value As IButtonControl
 
instance.CancelButton = value
 
value = instance.CancelButton
C#  
[DefaultValue()]
[SRDescription("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")]
public IButtonControl CancelButton {get; set;}
C++/CLI  
[DefaultValue()]
[SRDescription("The cancel button of the form. If this property is set, the button is 'clicked' whenever the user presses the 'ESC' key.")]
public:
property IButtonControl^ CancelButton {
   IButtonControl^ get();
   void set (    IButtonControl^ 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