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

ContextualMenu.EventInfo.modifiers

切换到手册
public EventModifiers modifiers ;

描述

If modifier keys (Alt, Control, Shift, Windows/Command) were pressed to trigger the display of the contextual menu, this property lists the modifier keys.