Skip to content

How to apply DesktopAcrylic to Flyouts #9341

Answered by Gaoyifei1011
harvinders asked this question in Q&A
Discussion options

You must be logged in to vote

I understand ComboBox and other controls have DesktopAcrylicBackdrop for their Flyouts since WinAppSDK 1.4. However, I am not able to see the effect when I apply it to Flyouts as shown below. I read somewhere that ShouldConstrainToRootBounds="False" is required, but that also did not work.

What is it that I am missing? I am on Win 10 21H2.

        <HyperlinkButton x:Name="PersonButton">
            <Grid ColumnDefinitions="Auto,Auto" ColumnSpacing="{StaticResource SmallSpacing}">
                <TextBlock x:Name="Name" Grid.Column="0" Style="{ThemeResource CaptionTextBlockStyle}" />
                <PersonPicture x:Name="PersonPicture" Grid.Column="1" Height="18" AutomationProperties.Ac…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@harvinders
Comment options

Answer selected by harvinders
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants