use style

This commit is contained in:
2023-07-26 17:14:47 +09:00
parent 1a15ebc427
commit 1381578890
22 changed files with 397 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
<Window x:Class="TabContorlLightSample.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:TabContorlLightSample"
mc:Ignorable="d"
Title="MainWindow" Height="300" Width="300">
<Grid Margin="10">
<TabControl>
<TabItem Header="Tab1">
<Label Background="LightGreen" Content="Tab1"/>
</TabItem>
<TabItem Header="Tab2">
<Label Background="LightCoral" Content="Tab2"/>
</TabItem>
</TabControl>
</Grid>
</Window>