回答編集履歴
1
訂正
test
CHANGED
@@ -1,8 +1 @@
|
|
1
|
-
```xaml
|
2
|
-
<Flyout.FlyoutPresenterStyle>
|
3
|
-
<Style TargetType="FlyoutPresenter">
|
4
|
-
<Setter Property="MinWidth" Value="{Binding ActualWidth, ElementName=Button1, Mode=OneWay}"/>
|
5
|
-
|
1
|
+
先ほど書いたことは間違っていたみたいです
|
6
|
-
</Flyout.FlyoutPresenterStyle>
|
7
|
-
```
|
8
|
-
上のプログラムを<Flyout>と</Flyout>の中に入れればサイズは変わりました。ただ、アプリの横幅を変えたとしてもFlyoutの横幅は変わらないという問題はあります。またActualWidthではなくWidthではうまくいきません。
|