Share via


AnimatedIconSource.Source Property

Definition

Gets or sets the animated visual shown by the AnimatedIconSource object.

public:
 property IAnimatedVisualSource2 ^ Source { IAnimatedVisualSource2 ^ get(); void set(IAnimatedVisualSource2 ^ value); };
IAnimatedVisualSource2 Source();

void Source(IAnimatedVisualSource2 value);
public IAnimatedVisualSource2 Source { get; set; }
var iAnimatedVisualSource2 = animatedIconSource.source;
animatedIconSource.source = iAnimatedVisualSource2;
Public Property Source As IAnimatedVisualSource2

Property Value

The animated visual shown by the AnimatedIconSource. The default is null.

Remarks

WinUI provides animated visuals for some common icons in the Microsoft.UI.Xaml.Controls.AnimatedVisuals namespace.

Applies to

See also