How to add Separator in ContextMenu when Binding #16868
cornerbowlsoftware
started this conversation in
General
Replies: 1 comment
-
I was able to finally get the separator to display by setting the bound Text value to "-" as documented. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a collection of menu item view models which work great. When I add a null value to my collection, I want a Separator to display instead of my custom template. In WPF this is handled with a style trigger. How can I do this in Avalonia?
Style:
Beta Was this translation helpful? Give feedback.
All reactions