BCGControlBar Library for .NET
ReplaceDefaultCommand Property




If the button is marked as 'CanExecuteDefaultCommand' its command entry can be replaced by last executed command. This flag controls whether the default command stays the same, or not.")>
Syntax
'Declaration
 
Public Overridable Property ReplaceDefaultCommand As Boolean
'Usage
 
Dim instance As ToolbarButton
Dim value As Boolean
 
instance.ReplaceDefaultCommand = value
 
value = instance.ReplaceDefaultCommand
public virtual bool ReplaceDefaultCommand {get; set;}
public: __property virtual bool get_ReplaceDefaultCommand();
public: __property virtual void set_ReplaceDefaultCommand( 
   bool value
);
public:
virtual property bool ReplaceDefaultCommand {
   bool get();
   void set (    bool value);
}
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

ToolbarButton Class
ToolbarButton Members

Send Feedback