GameWindow.AllowAltF4 Property (Microsoft.Xna.Framework)
Gets or sets a bool that enables usage of Alt+F4 for window closing on desktop platforms. Value is true by default.
- C#
- VB
- F#
public bool AllowAltF4 { get; set; }
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Property Value
Type: System.Boolean
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web