Intersoft ClientUI Documentation
CanExecute Property
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > CanExecuteRoutedEventArgs Class : CanExecute Property






Gets or sets a value that indicates whether the RoutedCommand associated with this event can be executed on the command target.

Syntax

Visual Basic (Declaration) 
Public Property CanExecute As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CanExecuteRoutedEventArgs
Dim value As Boolean
 
instance.CanExecute = value
 
value = instance.CanExecute
C# 
public bool CanExecute {get; set;}
Delphi 
public read-write property CanExecute: Boolean; 
JScript 
public function get,set CanExecute : boolean
Managed Extensions for C++ 
public: __property bool get_CanExecute();
public: __property void set_CanExecute( 
   bool value
);
C++/CLI 
public:
property bool CanExecute {
   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

© 2012 All Rights Reserved.