Skip to main content

OffsetX Property

Gets or sets the horizontal offset (distance) of the shadow.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public double OffsetX {
get;
set; }

Property Value

Double

Remarks

Positive values place the shadow to the right of the element while negative values place the shadow to the left.

See Also

Reference

BoxShadow Structure
Avalonia.Media Namespace