Compartilhar via


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

Return Value

Type: System.Boolean
true if the control should be enabled; otherwise, false.

See Also

Reference

RibbonManager Class

RibbonManager Members

Microsoft.Office.BusinessApplications.Runtime Namespace