BCGControlBar Library for .NET
CanExecuteRibbonCommand Method (CommandBar)




Syntax
'Declaration
 
Public Overridable Function CanExecuteRibbonCommand( _
   ByVal CommandId As Integer _
) As Boolean
'Usage
 
Dim instance As CommandBar
Dim CommandId As Integer
Dim value As Boolean
 
value = instance.CanExecuteRibbonCommand(CommandId)
public virtual bool CanExecuteRibbonCommand( 
   int CommandId
)
public: virtual bool CanExecuteRibbonCommand( 
   int CommandId
) 
public:
virtual bool CanExecuteRibbonCommand( 
   int CommandId
) 

Parameters

CommandId
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

CommandBar Class
CommandBar Members

Send Feedback