Files
egtstone3d/TopPanel/TopPanel1V.xaml
Demetrio Cassarino a4b32b186f -aggiunto scelta toppaneltema
-piccoli aggiustamenti
2025-01-28 16:07:13 +01:00

49 lines
1.9 KiB
XML

<TabControl x:Class="TopPanel1V"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:EgtStone3D="clr-namespace:EgtStone3D"
xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
SelectedIndex="{Binding SelTopOption}"
Style="{StaticResource TopPanel_TabControl}">
<TabControl.ItemContainerStyle>
<Style TargetType="{x:Type TabItem}">
<Setter Property="Visibility" Value="Collapsed"/>
</Style>
</TabControl.ItemContainerStyle>
<TabItem Header="{Binding HomeTab_Msg}">
<Grid Style="{StaticResource TopPanel_Grid}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<EgtStone3D:TopPanelHome1V DataContext="{StaticResource TopPanelVM}"/>
<Separator Grid.Row="1"
Style="{StaticResource TopPanel1_Separator}"/>
<ItemsControl Grid.Row="2"
ItemsSource="{Binding TopPanelListGroupBtn}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.Resources>
<DataTemplate DataType="{x:Type EgtStone3D:GroupSceneBtn}">
<EgtStone3D:TopPanelButton1V/>
</DataTemplate>
</ItemsControl.Resources>
</ItemsControl>
</Grid>
</TabItem>
<TabItem Header="{Binding Parametrico_Msg}">
<Grid Style="{StaticResource TopPanel_Grid}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
</Grid>
</TabItem>
</TabControl>