IMenuModelSetEnabled Method |
Version 51.0.0
Change the enabled status of the specified commandId.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.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