Share via


AnimatedVisualPlayer.FallbackContent Property

Definition

Gets or sets content to display if an animated visual fails to load.

/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
DataTemplate FallbackContent();

void FallbackContent(DataTemplate value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
DataTemplate FallbackContent();

void FallbackContent(DataTemplate value);
public DataTemplate FallbackContent { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public DataTemplate FallbackContent { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var dataTemplate = animatedVisualPlayer.fallbackContent;
animatedVisualPlayer.fallbackContent = dataTemplate;
Public Property FallbackContent As DataTemplate

Property Value

Content to display if an animated visual fails to load.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Remarks

The content remains visible until an animated visual is successfully loaded.

Applies to