Intersoft ClientUI Documentation
CommandCannotExecute Property
See Also  Send Feedback
Intersoft.Client.Framework Namespace > ISButton Class : CommandCannotExecute Property






Gets or sets the UI behavior when the associated Command cannot be executed.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Action")>
Public Property CommandCannotExecute As NoExecuteBehavior
Visual Basic (Usage)Copy Code
Dim instance As ISButton
Dim value As NoExecuteBehavior
 
instance.CommandCannotExecute = value
 
value = instance.CommandCannotExecute
C# 
[CategoryAttribute("Action")]
public NoExecuteBehavior CommandCannotExecute {get; set;}
Delphi 
public read-write property CommandCannotExecute: NoExecuteBehavior; 
JScript 
CategoryAttribute("Action")
public function get,set CommandCannotExecute : NoExecuteBehavior
Managed Extensions for C++ 
[CategoryAttribute("Action")]
public: __property NoExecuteBehavior get_CommandCannotExecute();
public: __property void set_CommandCannotExecute( 
   NoExecuteBehavior value
);
C++/CLI 
[CategoryAttribute("Action")]
public:
property NoExecuteBehavior CommandCannotExecute {
   NoExecuteBehavior get();
   void set (    NoExecuteBehavior 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

© 2012 All Rights Reserved.