Tab Test : TabControl « Windows Presentation Foundation « C# / C Sharp






Tab Test

Tab Test
      
<Window x:Class="Content.TabTest"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="TabTest" Height="300" Width="300">
  <TabControl Margin="5">
    <TabItem Header="Tab One">
      <StackPanel Margin="3">
        <CheckBox Margin="3">Setting One</CheckBox>
        <CheckBox Margin="3">Setting Two</CheckBox>
        <CheckBox Margin="3">Setting Three</CheckBox>
      </StackPanel>
    </TabItem>
    <TabItem Header="Tab Two"></TabItem>
  </TabControl>
</Window>

   
    
    
    
    
    
  








Related examples in the same category

1.Frame background, TabControl background
2.TabControl and Frame source
3.Style TabItemStyle TabItem
4.Style a TabControl using templates for the TabControl and TabItem elements.Style a TabControl using templates for the TabControl and TabItem elements.
5.TabItem HeaderTabItem Header
6.Tab page headersTab page headers
7.Put Different Objects to TabItemPut Different Objects to TabItem
8.Binds a TabControl to a collection of Employee objectsBinds a TabControl to a collection of Employee objects
9.Bind a TabControl to a data sourceBind a TabControl to a data source
10.Use a GroupBox control to create a container for a TabControl.Use a GroupBox control to create a container for a TabControl.