Shadow Class
Definition
The base class for shadow effects that can be applied to a XAML element.
Equivalent WinUI class: Microsoft.UI.Xaml.Media.Shadow.
public ref class Shadow : DependencyObject
/// [Windows.Foundation.Metadata.Composable(Windows.UI.Xaml.Media.IShadowFactory, Windows.Foundation.Metadata.CompositionType.Public, 524288, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class Shadow : DependencyObject
[Windows.Foundation.Metadata.Composable(typeof(Windows.UI.Xaml.Media.IShadowFactory), Windows.Foundation.Metadata.CompositionType.Public, 524288, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.WebHostHidden]
public class Shadow : DependencyObject
Public Class Shadow
Inherits DependencyObject
- Inheritance
- Derived
- Attributes
Windows 10 requirements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
Properties
Dispatcher |
Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread. Equivalent WinUI property: Microsoft.UI.Xaml.DependencyObject.Dispatcher. (Inherited from DependencyObject) |