Skip to content

KeyEventArgs.PrimaryKey property

Gets whether the platform’s primary command modifier is pressed (Ctrl on Windows/Linux, Cmd on macOS).

public bool PrimaryKey { get; }