wpf - VirtualizingStackPanel not aligning menu items vertical on applying theme -
before applying wpf theme - bureaublue.xaml theme, can see menu items aligning vertically below code:
<menu.itemspanel> <itemspaneltemplate> <virtualizingstackpanel orientation="vertical"/> </itemspaneltemplate> </menu.itemspanel>
but same logic aligning menu items horizontally once apply theme.
could please assist me in resolving this?
i able solve problem.
i supposed use virtualizingstackpanel display menu items vertically.
in theme style menu, stackpanel orientation coded horizontal.
i copied code theme xaml , created new style change orientation horizontal vertical.
for menu, have applied new style dynamicresource.
it worked.
thanks...
Comments
Post a Comment