FlyoutPresenter.IsDefaultShadowEnabled Property

Definition

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

public:
 property bool IsDefaultShadowEnabled { bool get(); void set(bool value); };
bool IsDefaultShadowEnabled();

void IsDefaultShadowEnabled(bool value);
public bool IsDefaultShadowEnabled { get; set; }
var boolean = flyoutPresenter.isDefaultShadowEnabled;
flyoutPresenter.isDefaultShadowEnabled = boolean;
Public Property IsDefaultShadowEnabled As Boolean

Property Value

Boolean

bool

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 the default shadow doesn't look correct on your Flyout's content then you can disable it by setting this property to false.

Applies to