Skip to content

Setting Rotation on AnimatedIcon causes WMC0612 #10887

@HO-COOH

Description

@HO-COOH

Describe the bug

Describe the bug

This xaml gives build error

<Window 
    ...
    xmlns:animatedVisual="using:Microsoft.UI.Xaml.Controls.AnimatedVisuals" >
            <Button>
                <AnimatedIcon Rotation="180">
                    <animatedVisual:AnimatedBackVisualSource />
                </AnimatedIcon>
            </Button>

Output:

XamlCompiler error WMC0612: The XAML Binary Format (XBF) generator reported syntax error '0x09C4' : Property Not Found

THIS IS THE SECOND TIME I OPEN THE ISSUE. See my original post. It is mistakenly closed for a workaround but not a solution. I shout for reopen, but get ignored.

Why is this important?

I want to have an animated back button rotated 180 degrees.

If this is unsupported, it should be clearly documented

Steps to reproduce the bug

As description.

Actual behavior

No response

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.8.3: 1.8.251106002

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions