Creating contextMenu in Avalonia #6497
santhoshkumarmk
started this conversation in
General
Replies: 3 comments 7 replies
-
button.ContextFlyout = new MenuFlyout
{
Items = new []
{
new MenuItem { Header = "First Item" }
}
} |
Beta Was this translation helpful? Give feedback.
3 replies
-
and IsOpen property is false by default . when i try to set externally, i am unable to do button.ContextMenu.IsOpen = true; |
Beta Was this translation helpful? Give feedback.
4 replies
-
Its working when i do right click . But the problem is here the context menu occupying whole screen . I am not |
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
-
Hi,
How to create contextmenu from backend code in avalonia as like wpf
Beta Was this translation helpful? Give feedback.
All reactions