【发布时间】:2014-07-25 06:12:45
【问题描述】:
我想用 c# 设置菜单弹出背景,因为我在运行时创建弹出,我该怎么做 我用这样的 xaml 知道这一点
<Flyout.FlyoutPresenterStyle>
<Style TargetType="FlyoutPresenter">
<Setter Property="ScrollViewer.ZoomMode" Value="Enabled"/>
<Setter Property="Background" Value="Black"/>
<Setter Property="BorderBrush" Value="Gray"/>
<Setter Property="BorderThickness" Value="5"/>
<Setter Property="MinHeight" Value="300"/>
<Setter Property="MinWidth" Value="300"/>
</Style>
</Flyout.FlyoutPresenterStyle>
如何使用 c# 实现这一点?
【问题讨论】:
标签: c# xaml windows-8.1