UIElement.Shadow Property

Definition

Gets or sets the shadow effect cast by the element.

C#
public Shadow Shadow { get; set; }

Property Value

The shadow effect cast by the element.

Examples

Tip

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

Remarks

Tip

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

Many common controls automatically cast shadows using a ThemeShadow.

The UIElement.Shadow property can be used to cast shadows from additional visual elements or custom controls.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also