Skip to content

Flyout shadow display not right while set the CornerRadiusΒ #1010

@h82258652

Description

@h82258652
<Grid>
    <Button HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Content="Test">
        <Button.Flyout>
            <Flyout>
                <Flyout.FlyoutPresenterStyle>
                    <Style TargetType="FlyoutPresenter">
                        <Setter Property="Background"
                                Value="White" />
                        <Setter Property="CornerRadius"
                                Value="20" />
                        <Setter Property="Padding"
                                Value="0" />
                    </Style>
                </Flyout.FlyoutPresenterStyle>
                <Border>
                    <TextBlock HorizontalAlignment="Center"
                               VerticalAlignment="Center"
                               Text="Shadow Test" />
                </Border>
            </Flyout>
        </Button.Flyout>
    </Button>
</Grid>

Snipaste_2019-07-08_11-08-08

Metadata

Metadata

Assignees

Labels

team-RenderingIssue for the Rendering team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions