0
A
回答
2
這不完全是你的模擬,但是MenuFlyout呢?這幾乎是一樣的,你不需要任何魔術。另外它對於UWP用戶來說是本地的:
<StackPanel>
<Button Content="Button 1">
<Button.Flyout>
<MenuFlyout>
<MenuFlyoutItem Text="Action 1"/>
<MenuFlyoutItem Text="Action 2"/>
<MenuFlyoutItem Text="Action 3"/>
</MenuFlyout>
</Button.Flyout>
</Button>
<Button Content="Button 2"/>
<Button Content="Button 3"/>
</StackPanel>
相關問題
- 1. 自定義Windows 10 UWP後退按鈕
- 2. Windows 10移動UWP - 慢退按鈕
- 3. 在UWP的Windows 10 C#創建邊框圓形按鈕
- 4. 下拉按鈕?
- 5. Windows 10 uwp上傳失敗
- 6. ShareTarget覆蓋RequestedTheme [Windows 10 UWP]
- 7. Android下拉按鈕
- 8. Javascript下拉按鈕
- 9. Qt:下拉按鈕?
- 10. 廣告ID - UWP(Windows 10)
- 11. windows 10 uwp支持.net
- 12. 使用UWP的OCR(Windows 10)
- 13. Windows 10 UWP更新任務
- 14. UWP在Windows 10物聯網
- 15. InterstitialAd不能使用Windows Phone 10(UWP - Windows 10)
- 16. Windows 10 UWP應用程序c#打印
- 17. UWP旋轉按鈕動畫
- 18. ComboBox ControlTemplate下拉按鈕
- 19. 按鈕點擊下拉
- 20. php下拉按鈕選擇
- 21. UITextField瓦特/下拉按鈕
- 22. 自定義下拉按鈕
- 23. 如何在Windows 10下獲得按鈕的默認樣式?
- 24. UWP EventTriggerBehaviors按鈕GotFocus
- 25. 如何在按下開始按鈕(Windows Phone)時按下「開始」按鈕(Windows Phone)
- 26. UWP Windows 10電話模擬器
- 27. WPFToolkit:拆分按鈕下拉按鈕禁用按鈕
- 28. 後臺任務中的Websockets UWP Windows 10
- 29. Windows 10 UWP與Arduino的藍牙連接
- 30. UWP Windows-10 WACK測試錯誤
您是否檢查此鏈接? https://sanje2v.wordpress.com/2016/03/30/uwp-custom-control-expandable-row-listview/ – AVK