SystemParameters.FlatMenu Property

Definition

Gets a value indicating whether native menus appear as a flat menu.

public:
 static property bool FlatMenu { bool get(); };
public static bool FlatMenu { [System.Security.SecurityCritical] get; }
public static bool FlatMenu { get; }
[<get: System.Security.SecurityCritical>]
static member FlatMenu : bool
static member FlatMenu : bool
Public Shared ReadOnly Property FlatMenu As Boolean

Property Value

true if the flat menu appearance is set; otherwise, false.

Attributes

Remarks

Maps to SPI_GETFLATMENU. See SystemParametersInfo.

XAML attribute usage

<object property="{ SystemParameters.FlatMenu}"/>

Applies to