MenuFlyoutPresenter.IsDefaultShadowEnabled Property

Definition

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

C#
public bool IsDefaultShadowEnabled { get; set; }

Property Value

Boolean

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

Remarks

Prepitné

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.

Applies to

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6