BCGControlBar Library for .NET
CanExecuteRibbonCommand Method (RibbonControl)




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

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

RibbonControl Class
RibbonControl Members
Base Implementation in CanExecuteRibbonCommand

Send Feedback