DatePickerFlyoutPresenter.IsDefaultShadowEnabled 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 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 = datePickerFlyoutPresenter.isDefaultShadowEnabled;
datePickerFlyoutPresenter.isDefaultShadowEnabled = boolean;
Public Property IsDefaultShadowEnabled As Boolean
Property Value
bool
true if the default shadow effect is shown; otherwise, false. The default is true.
Windows requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
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 DatePicker's content then you can disable it by setting this property to false
.