Class DropShadowDirectionEffect
This class is compatible with WPF's DropShadowEffect and provides Direction and ShadowDepth properties instead of OffsetX/OffsetY
public sealed class DropShadowDirectionEffect : DropShadowEffectBase, INotifyPropertyChanged, IDropShadowEffect, IMutableEffect, IEffect
- Inheritance
-
DropShadowDirectionEffect
- Implements
- Inherited Members
- Extension Methods
Constructors
DropShadowDirectionEffect()
public DropShadowDirectionEffect()
Fields
DirectionProperty
public static readonly StyledProperty<double> DirectionProperty
Field Value
ShadowDepthProperty
public static readonly StyledProperty<double> ShadowDepthProperty
Field Value
Properties
Direction
public double Direction { get; set; }
Property Value
OffsetX
public double OffsetX { get; }
Property Value
OffsetY
public double OffsetY { get; }
Property Value
ShadowDepth
public double ShadowDepth { get; set; }
Property Value
Methods
ToImmutable()
Creates an immutable clone of the effect.
public IImmutableEffect ToImmutable()
Returns
- IImmutableEffect
The immutable clone.