PaneledTab

TakeAsh68k edited this page Jun 27, 2015 · 4 revisions

PaneledTab

  • is TabContorl with 'FormerPanel' and 'LatterPanel' beside TabPanel. You can place buttons or somethings in the panels.
    PaneledTab
  • supports TabStripPlacement (runtime). TabStripPlacement doesn't work in design mode.

Sample

xmlns:wu="clr-namespace:WpfUtility;assembly=WpfUtility"

<ResourceDictionary Source="/WpfUtility;component/PaneledTab.xaml" />

<wu:PaneledTab x:Name="paneledTab">
  <wu:PaneledTab.FormerPanel>
    <WrapPanel>
      <Button x:Name="button_Top" Content=" T " />
    </WrapPanel>
  </wu:PaneledTab.FormerPanel>
  <wu:PaneledTab.LatterPanel>
    <WrapPanel>
      <Button x:Name="button_Left" Content=" L " />
      <Button x:Name="button_Right" Content=" R " />
      <Button x:Name="button_Bottom" Content=" B " />
    </WrapPanel>
  </wu:PaneledTab.LatterPanel>
  <TabItem Header="Item1">
    <TextBlock Text="Item1" />
  </TabItem>
  <TabItem Header="Item2">
    <TextBlock Text="Item2" />
  </TabItem>
  <TabItem Header="Item3">
    <TextBlock Text="Item3" />
  </TabItem>
</wu:PaneledTab>

Link

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.