views:

24

answers:

0

Hi there, can anyone please help to shed me some light on my question in above Title field?

Basically, I am using the MenuItem controltemplate sample code from MSDN and want to customize its layout to achieve my application need. However, since I used the controltemplates, the default separator is overwritten by the new separator style. I want to keep the modification I made in those control templates, but meanwhile want to:

Set WPF separator(horizontal line) just in between 2 MenuItems' Header Text and inputgesture (exclude the left area which could be used for Icon) rather than 2 entire MenuItems?

Thank you in advance!

Louie