ThemeShadow.Receivers 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 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.