A menu item which was registered as being “checkable” can have its check state changed from IMenuManager using the following code:
// The physical path of the menu item, indicating it's path hierarchy. string[] menuPath = new[] { "_View", "_Fullscreen" }; // The checked state of the menu item. bool isChecked = true; menuManager.SetIsEnabled(isChecked, menuPath);
Comments
0 comments
Please sign in to leave a comment.