A vertical Separator control in a Menu, Toolbar, StackPanel, etc. - Is it possible?

Randall Flagg picture Randall Flagg · Oct 25, 2010 · Viewed 26.4k times · Source

I want to use the Separator control in a vertical way (Lets say in a horizontal StackPanel).

Searching around I found this method but it doesn't use the Separator control rather it uses borders and rectangles. https://social.msdn.microsoft.com/forums/en-US/wpf/thread/eab865be-ad9b-45ed-b9d8-fc93f737b163

Is it possible to use the Separator control in a vertical way?

Answer

mletterle picture mletterle · Aug 15, 2011

Also:

<Separator Style="{StaticResource {x:Static ToolBar.SeparatorStyleKey}}" />