AnimatedSettingsVisualSource Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an animation for a settings icon that can be used as an animated icon source.
public ref class AnimatedSettingsVisualSource sealed : IAnimatedVisualSource2
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.XamlContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AnimatedSettingsVisualSource final : IAnimatedVisualSource2
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.XamlContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AnimatedSettingsVisualSource : IAnimatedVisualSource2
Public NotInheritable Class AnimatedSettingsVisualSource
Implements IAnimatedVisualSource2
- Inheritance
- Attributes
- Implements
This can be used as the Source of an AnimatedIcon
.
Supported IAnimatedVisualSource2.Markers for AnimatedIcon.State:
- NormalToPointerOver
- NormalToPressed
- PointerOverToNormal
- PointerOverToPressed
- PressedToNormal
- PressedToPointerOver
Animated |
Initializes a new instance of the AnimatedSettingsVisualSource class. |
Markers |
Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. |
Set |
Sets the color of the animated visual for an AnimatedIcon. |
Try |
Attempts to create an instance of an |
Proizvod | Verzije |
---|---|
Windows App SDK | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |