Megosztás a következőn keresztül:


DropShadow.Offset Property

Definition

Offset of the shadow relative to its SpriteVisual. Animatable.

public:
 property float3 Offset { float3 get(); void set(float3 value); };
float3 Offset();

void Offset(float3 value);
public Vector3 Offset { get; set; }
var vector3 = dropShadow.offset;
dropShadow.offset = vector3;
Public Property Offset As Vector3

Property Value

Vector3 Vector3

float3

Offset of the shadow relative to its SpriteVisual.

Remarks

This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.

Applies to