Experimental: this API is experimental and might be changed or removed in the future.

ContextualMenu.MenuAction.UpdateActionStatus

切换到手册
public void UpdateActionStatus (Experimental.UIElements.ContextualMenu.EventInfo eventInfo);

参数

eventInfoInformation about the event that triggered the display of the context menu, such as the mouse position or the key pressed.

描述

通过调用项目状态回调更新此项目的状态标志。