Cocktail Help Reference
Enabled Property
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > DialogButton Class : Enabled Property



Glossary Item Box

Indicates whether the button is currently enabled or disabled.

Syntax

Visual Basic (Declaration) 
Public Property Enabled As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DialogButton
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled
C# 
public bool Enabled {get; set;}
C++/CLI 
public:
property bool Enabled {
   bool get();
   void set (    bool value);
}

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

© 2013 All Rights Reserved.