How can I make a context menu with a logo on the left side

I am looking for 4 hours, how can I make a context menu with a logo. I mean something similar to the daemon context menu of tools.

For those who do not know what it looks like: Daemon Tools Lite Context Menu

Is there a way to do this in an easy way in XAML?

+4
source share
1 answer

You will have to configure the ContextMenu management template .

Just copy it all and wrap this StackPanel in a Grid or DockPanel to which you will add an image:

<StackPanel ClipToBounds="True" Orientation="Horizontal" IsItemsHost="True" /> 

Once you understand and learn not to be afraid of control patterns, they really don't matter much. No C # is needed; all this is pure XAML.

Quick start guide.

+5
source

All Articles