BCGSoft.ControlBars Namespace > SmartUndoButton Class : CanExecuteDefaultCommand Property |
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.
'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;
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