wpf - How to design a Tab which shows content Vertically -
I have to design a tab control The title of the tab item should really be shown.
I can tell you how to do this. Obtain a copy of ControlTemplate of TabControl You can get it , if you are not using Expression Blend to edit.
& lt; Grid keyboard navigation. Tabanavigation = "local" & gt; & Lt; Grid.RowDefinitions & gt; & Lt; RowDefinition Height = "Auto" /> & Lt; Roadfinion height = "*" /> & Lt; /Grid.RowDefinitions> & Lt; TabPanel name = "HeaderPackel" grid. Row = "0" panel. ZX = "1" margin = "0,0,4, -1" isitemmohost = "true" keyboard navigation. TabIndex = "1" background = "transparent" / & gt;
You can see a tab panel in the form of a 2-row grid and header panel below. This is the reason that in the default tab control, the hannel panel (tab) sits at the top (the first row), you can change these rows in columns and replace a tacapel with a stackpanel or a vertical orientation.
Comments
Post a Comment