DropShadowDirectionEffect Class
This class is compatible with WPF's DropShadowEffect and provides Direction and ShadowDepth properties instead of OffsetX/OffsetY
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public sealed class DropShadowDirectionEffect : DropShadowEffectBase,
IDropShadowEffect, IEffect, IMutableEffect
Public NotInheritable Class DropShadowDirectionEffect
Inherits DropShadowEffectBase
Implements IDropShadowEffect, IEffect, IMutableEffect
[<SealedAttribute>]
type DropShadowDirectionEffect =
class
inherit DropShadowEffectBase
interface IDropShadowEffect
interface IEffect
interface IMutableEffect
end
Inheritance | Object → AvaloniaObject → Animatable → Effect → DropShadowEffectBase → DropShadowDirectionEffect |
Implements | IDropShadowEffect, IEffect, IMutableEffect |
Constructors
DropShadowDirectionEffect() | Initializes a new instance of the DropShadowDirectionEffect class |
Properties
BlurRadius | (Inherited from DropShadowEffectBase) |
Color | (Inherited from DropShadowEffectBase) |
Direction | |
Item(AvaloniaProperty) | Gets or sets the value of a AvaloniaProperty. (Inherited from AvaloniaObject) |
Item(IndexerDescriptor) | Gets or sets a binding for a AvaloniaProperty. (Inherited from AvaloniaObject) |
OffsetX | |
OffsetY | |
Opacity | (Inherited from DropShadowEffectBase) |
ShadowDepth | |
Transitions | Gets or sets the property transitions for the control. (Inherited from Animatable) |
Methods
Events
Invalidated | (Inherited from Effect) |
PropertyChanged | Raised when a AvaloniaProperty value changes on this object. (Inherited from AvaloniaObject) |
Fields
DirectionProperty | |
ShadowDepthProperty |