SystemParameters.FlatMenu Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.