IMenuModelSetEnabled Method |
Version 118.6.80
Change the enabled status of the specified commandId.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax bool SetEnabled(
CefMenuCommand commandId,
bool enabled
)
bool SetEnabled(
CefMenuCommand commandId,
bool enabled
)
Parameters
- commandId
- Type: CefSharpCefMenuCommand
the command Id - enabled
- Type: SystemBoolean
is enabled
Return Value
Type:
BooleanReturns true on success.
See Also