Class DropShadowEffect
A bitmap effect that paints a drop shadow around the target texture.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media.Effects
Assembly: OpenSilver.dll
Syntax
public sealed class DropShadowEffect : Effect
Constructors
| Improve this Doc View SourceDropShadowEffect()
Initializes a new instance of the DropShadowEffect class.
Declaration
public DropShadowEffect()
Fields
| Improve this Doc View SourceBlurRadiusProperty
Identifies the BlurRadius dependency property.
Declaration
public static readonly DependencyProperty BlurRadiusProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ColorProperty
Identifies the Color dependency property.
Declaration
public static readonly DependencyProperty ColorProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
DirectionProperty
Identifies the Direction dependency property.
Declaration
public static readonly DependencyProperty DirectionProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
OpacityProperty
Identifies the Opacity dependency property.
Declaration
public static readonly DependencyProperty OpacityProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ShadowDepthProperty
Identifies the ShadowDepth dependency property.
Declaration
public static readonly DependencyProperty ShadowDepthProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBlurRadius
Gets or sets a value that indicates the radius of the shadow's blur effect.
Declaration
public double BlurRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Color
Gets or sets the color of the drop shadow.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Direction
Gets or sets the direction of the drop shadow.
Declaration
public double Direction { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Opacity
Gets or sets the opacity of the drop shadow.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ShadowDepth
Gets or sets the distance of the drop shadow below the texture.
Declaration
public double ShadowDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |