我有一個 WPF 應用程式,我想知道在 WPF 中實作烤肉選單(三點選單)按鈕的最佳方法是什么。與此類似:

或與 MS Edge 中的類似(但垂直):

我正在使用 .NET 標準 4.5
uj5u.com熱心網友回復:
這對我有用:
<Button VerticalAlignment="Top"
HorizontalAlignment="Left"
Width="30"
Height="30">
<TextBlock Text="?"/>
</Button>
或者使用 xml 格式字符編碼
<Button VerticalAlignment="Top"
HorizontalAlignment="Left"
Width="30"
Height="30">
<TextBlock Text='⋮'/>
</Button>
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/532980.html
