UIElement.Shadow 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 the shadow effect cast by the element.
public:
property Shadow ^ Shadow { Shadow ^ get(); void set(Shadow ^ value); };
Shadow Shadow();
void Shadow(Shadow value);
public Shadow Shadow { get; set; }
var shadow = uIElement.shadow;
uIElement.shadow = shadow;
Public Property Shadow As Shadow
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.