RibbonManager.GetEnabled Method
Implements the ribbon enabled control or disabled control.
Namespace: Microsoft.Office.BusinessApplications.Runtime
Assembly: Microsoft.Office.BusinessApplications.RuntimeUi (in Microsoft.Office.BusinessApplications.RuntimeUi.dll)
Syntax
'Declaration
Public Overridable Function GetEnabled ( _
control As IRibbonControl _
) As Boolean
'Usage
Dim instance As RibbonManager
Dim control As IRibbonControl
Dim returnValue As Boolean
returnValue = instance.GetEnabled(control)
public virtual bool GetEnabled(
IRibbonControl control
)
Parameters
- control
Type: Microsoft.Office.Core.IRibbonControl
The control to check whether it should be enabled.
Return Value
Type: System.Boolean
true if the control should be enabled; otherwise, false.