CefMenuModel SetAccelerator Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

Set the keyboard accelerator for the specified |commandId|. |key_code| can be any virtual key or character value. Returns true on success.

Namespace: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

public bool SetAccelerator(
	int commandId,
	int keyCode,
	bool shiftPressed,
	bool ctrlPressed,
	bool altPressed
)

Parameters

commandId
Type: OnlineSystem Int32

[Missing <param name="commandId"/> documentation for "M:Xilium.CefGlue.CefMenuModel.SetAccelerator(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]

keyCode
Type: OnlineSystem Int32

[Missing <param name="keyCode"/> documentation for "M:Xilium.CefGlue.CefMenuModel.SetAccelerator(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]

shiftPressed
Type: OnlineSystem Boolean

[Missing <param name="shiftPressed"/> documentation for "M:Xilium.CefGlue.CefMenuModel.SetAccelerator(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]

ctrlPressed
Type: OnlineSystem Boolean

[Missing <param name="ctrlPressed"/> documentation for "M:Xilium.CefGlue.CefMenuModel.SetAccelerator(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]

altPressed
Type: OnlineSystem Boolean

[Missing <param name="altPressed"/> documentation for "M:Xilium.CefGlue.CefMenuModel.SetAccelerator(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]

Return Value

Type: OnlineBoolean

[Missing <returns> documentation for "M:Xilium.CefGlue.CefMenuModel.SetAccelerator(System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean)"]

See Also