Files
Demetrio Cassarino 2533192b24 -aggiunto popup view
-pulito codice
2025-01-14 12:32:00 +01:00

73 lines
3.2 KiB
XML

<Grid x:Class="ViewPanelV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:EgtStone3D="clr-namespace:EgtStone3D">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Button Command="{Binding TopViewCommand}"
Style="{DynamicResource ViewPanel_Btn}">
<StackPanel Style="{StaticResource TopPanel_StackPanel}">
<Image Source="/Resources/ViewPanel/LookFromTOP.png"
Style="{StaticResource TopPanel_Image}"/>
<TextBlock Text="{Binding LookFromTop_Msg}"
Style="{StaticResource TopPanel_TxBl}"/>
</StackPanel>
</Button>
<Button Grid.Column="1"
Command="{Binding BottomViewCommand}"
Style="{DynamicResource ViewPanel_Btn}">
<StackPanel Style="{StaticResource TopPanel_StackPanel}">
<Image Source="/Resources/ViewPanel/LookFromBOTTOM.png"
Style="{StaticResource TopPanel_Image}"/>
<TextBlock Text="{Binding LookFromBottom_Msg}"
Style="{StaticResource TopPanel_TxBl}"/>
</StackPanel>
</Button>
<Button Grid.Column="2"
Command="{Binding FrontViewCommand}"
Style="{DynamicResource ViewPanel_Btn}">
<StackPanel Style="{StaticResource TopPanel_StackPanel}">
<Image Source="/Resources/ViewPanel/LookFromFRONT.png"
Style="{StaticResource TopPanel_Image}"/>
<TextBlock Text="{Binding LookFromFront_Msg}"
Style="{StaticResource TopPanel_TxBl}"/>
</StackPanel>
</Button>
<Button Grid.Column="3"
Command="{Binding BackViewCommand}"
Style="{DynamicResource ViewPanel_Btn}">
<StackPanel Style="{StaticResource TopPanel_StackPanel}">
<Image Source="/Resources/ViewPanel/LookFromBACK.png"
Style="{StaticResource TopPanel_Image}"/>
<TextBlock Text="{Binding LookFromBack_Msg}"
Style="{StaticResource TopPanel_TxBl}"/>
</StackPanel>
</Button>
<Button Grid.Column="4"
Command="{Binding LeftViewCommand}"
Style="{DynamicResource ViewPanel_Btn}">
<StackPanel Style="{StaticResource TopPanel_StackPanel}">
<Image Source="/Resources/ViewPanel/LookFromLEFT.png"
Style="{StaticResource TopPanel_Image}"/>
<TextBlock Text="{Binding LookFromLeft_Msg}"
Style="{StaticResource TopPanel_TxBl}"/>
</StackPanel>
</Button>
<Button Grid.Column="5"
Command="{Binding RightViewCommand}"
Style="{DynamicResource ViewPanel_Btn}">
<StackPanel Style="{StaticResource TopPanel_StackPanel}">
<Image Source="/Resources/ViewPanel/LookFromRIGHT.png"
Style="{StaticResource TopPanel_Image}"/>
<TextBlock Text="{Binding LookFromRight_Msg}"
Style="{StaticResource TopPanel_TxBl}"/>
</StackPanel>
</Button>
</Grid>