BCGControlBar Library for .NET
CanExecuteDefaultCommand Property (SmartUndoButton)




Set to true in order to enable a popup menu button (button, which displays popup menu) also execute a command.
This property is overridden and returns true. So when we click on the execute button, the action on the top of the undo stack will be undone.

 

Syntax
'Declaration
 
Public Overrides ReadOnly Property CanExecuteDefaultCommand As Boolean
'Usage
 
Dim instance As SmartUndoButton
Dim value As Boolean
 
value = instance.CanExecuteDefaultCommand
public override bool CanExecuteDefaultCommand {get;}
public: __property bool get_CanExecuteDefaultCommand() override;
public:
property bool CanExecuteDefaultCommand {
   bool get() override;
}
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

Reference

SmartUndoButton Class
SmartUndoButton Members
Base Implementation in CanExecuteDefaultCommand

Send Feedback