Method SuppressMenuBarFocus
SuppressMenuBarFocus()
Disables focus-related interactions for the menu bar on supported platforms.
public static void SuppressMenuBarFocus()
Remarks
This method modifies the behavior of the menu bar to suppress focus-related interactions, ensuring that the menu bar does not receive focus during user interaction. It is applicable to specific platforms, such as Windows and MacCatalyst.