How can I do a context menu with logo on the left side
I've looking for 4 hours how can I do a context menu with logo. I mean something which looks like daemon tools context menu.
For these who dont know how it looks like:
Is there any option to do it in simple way 开发者_运维问答in XAML?
You will have to adjust ContextMenu's control template.
Just copy the whole thing and and wrap this StackPanel in Grid or DockPanel to which you add the image:
<StackPanel ClipToBounds="True" Orientation="Horizontal" IsItemsHost="True" />
Once you understand and learn not to fear control templates, they are really not a big deal. No C# necessary, all is pure XAML.
Brief tutorial.
精彩评论