AnimatedChevronDownSmallVisualSource Class
Definition
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 downward facing chevron that can be used as an animated icon source.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public ref class AnimatedChevronDownSmallVisualSource 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 AnimatedChevronDownSmallVisualSource 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 AnimatedChevronDownSmallVisualSource : IAnimatedVisualSource2
Public NotInheritable Class AnimatedChevronDownSmallVisualSource
Implements IAnimatedVisualSource2
- Inheritance
- Attributes
- Implements
Remarks
This can be used as the Source of an AnimatedIcon
. It is used by the DropDownButton and Expander controls.
Supported IAnimatedVisualSource2.Markers for AnimatedIcon.State:
- NormalToPointerOver
- NormalToPressed
- PointerOverToNormal
- PointerOverToPressed
- PressedToNormal
- PressedToPointerOver
Constructors
AnimatedChevronDownSmallVisualSource() |
Initializes a new instance of the AnimatedChevronDownSmallVisualSource class. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
Properties
Markers |
Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
Methods
SetColorProperty(String, Color) |
Sets the color of the animated visual for an AnimatedIcon. This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |
TryCreateAnimatedVisual(Compositor, Object) |
Attempts to create an instance of an This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces). |