Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 946 Bytes

menuflyoutpresenter_isdefaultshadowenabled.md

File metadata and controls

35 lines (20 loc) · 946 Bytes
-api-id -api-type ms.custom
P:Windows.UI.Xaml.Controls.MenuFlyoutPresenter.IsDefaultShadowEnabled
winrt property
19H1

Windows.UI.Xaml.Controls.MenuFlyoutPresenter.IsDefaultShadowEnabled

-description

Gets or sets a value that indicates whether the default shadow effect is shown.

-property-value

true if the default shadow effect is shown; otherwise, false. The default is true.

-remarks

Tip

For more info, design guidance, and code examples, see Z-depth and shadow.

Many common controls automatically cast shadows using a ThemeShadow.

If a default shadow doesn't look correct on your MenuFlyout's content then you can disable it by setting this property to false.

-see-also

-examples