I have an WPF app and I am trying to know what is the best way to implement a kebab menu (three dots menu) button in WPF. Similar to this:
or similar to this in MS Edge (but vertical):
I am using .NET Standard 4.5
CodePudding user response:
This works for me:
<Button VerticalAlignment="Top"
HorizontalAlignment="Left"
Width="30"
Height="30">
<TextBlock Text="⋮"/>
</Button>
Or alternatively using xml format character encoding
<Button VerticalAlignment="Top"
HorizontalAlignment="Left"
Width="30"
Height="30">
<TextBlock Text='⋮'/>
</Button>