BCGControlBar Library for .NET
UpdateEnabled Method (ToolbarButton)




If true, the toolbar button should be enabled, otherwise, disabled.
Called by the framework to update the enabled state of the toolbar button using ISupportCmdUI interface.
Syntax
'Declaration
 
Public Overridable Sub UpdateEnabled( _
   ByVal value As Boolean _
) 
'Usage
 
Dim instance As ToolbarButton
Dim value As Boolean
 
instance.UpdateEnabled(value)
public virtual void UpdateEnabled( 
   bool value
)
public: virtual void UpdateEnabled( 
   bool value
) 
public:
virtual void UpdateEnabled( 
   bool value
) 

Parameters

value
If true, the toolbar button should be enabled, otherwise, disabled.
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