在Xaml中,我有简单的Flyout窗口,如下所述:
<Button Content="Clickable">
<Button.Flyout>
<Flyout>
<TextBlock Text="My Flyout have several text elements"/>
</Flyout>
</Button.Flyout>
</Button>
如何在Flyout面板上应用Windows 10丙烯酸效果?
答案 0 :(得分:2)
<Button Content="Clickable" Height="55" Width="255" HorizontalAlignment="Center" Style="{ThemeResource ButtonRevealStyle}">
<Button.Flyout>
<Flyout>
<Flyout.FlyoutPresenterStyle>
<Style TargetType="FlyoutPresenter">
<Setter Property="Background" Value="{ThemeResource SystemControlAcrylicElementMediumHighBrush}" />
</Style>
</Flyout.FlyoutPresenterStyle>
<TextBlock Text="My Flyout have several text elements"/>
</Flyout>
</Button.Flyout>
</Button>
您应该选中此app,以查看有关控件的更多信息和更多自定义的丙烯酸画笔