Dela via


ThemeShadow.Receivers Property

Definition

Gets a collection of UI elements that this ThemeShadow is cast on.

UIElementWeakCollection Receivers();
public UIElementWeakCollection Receivers { get; }
var uIElementWeakCollection = themeShadow.receivers;
Public ReadOnly Property Receivers As UIElementWeakCollection

Property Value

A collection of UI elements that this ThemeShadow is cast on.

Remarks

Tip

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

To cast a shadow effect from a XAML UI element that isn't in a Popup, you must explicitly specify the other UI elements that can receive the shadow by adding them to this Receivers collection.

Receivers cannot be an ancestor of the caster in the visual tree.

Applies to

See also