4d6c47fe36
-> aggiunto il comando FiloTop nella CompoListPage -> aggiunto il comandi Invert nelle lavorazioni -> aggiunto il comando Cad2d nella pagina DxfImportWindow
94 lines
3.6 KiB
XML
94 lines
3.6 KiB
XML
<UserControl x:Class="CompoListPageV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<DockPanel >
|
|
|
|
<UniformGrid Columns="3"
|
|
DockPanel.Dock="Top"
|
|
Visibility="{Binding SideEntity_Visibility}"
|
|
Margin="1,0,1,0">
|
|
<!--Inclina lato-->
|
|
<ToggleButton
|
|
IsChecked="{Binding SideAngle_IsChecked}"
|
|
Style="{StaticResource CompoWindow_ToggleButton}"
|
|
Margin="0,0,1.75,0">
|
|
<ToggleButton.Content>
|
|
<AccessText TextWrapping="Wrap" Text="{Binding SideAngleMsg}"/>
|
|
</ToggleButton.Content>
|
|
</ToggleButton>
|
|
<!--Filo Top-->
|
|
<ToggleButton
|
|
IsChecked="{Binding FiloTop_IsChecked}"
|
|
Style="{StaticResource CompoWindow_ToggleButton}"
|
|
Margin="0.5833,0,1.1667,0">
|
|
<ToggleButton.Content>
|
|
<AccessText TextWrapping="Wrap" Text="{Binding FiloTopMsg}"/>
|
|
</ToggleButton.Content>
|
|
</ToggleButton>
|
|
<!--Incidi da sotto-->
|
|
<ToggleButton
|
|
IsChecked="{Binding Drip_IsChecked}"
|
|
Style="{StaticResource CompoWindow_ToggleButton}"
|
|
Margin="0.5833,0,1.1667,0"
|
|
IsEnabled="{Binding Drip_IsEnabled}">
|
|
<ToggleButton.Content>
|
|
<AccessText TextWrapping="Wrap" Text="{Binding DripMsg}"/>
|
|
</ToggleButton.Content>
|
|
</ToggleButton>
|
|
</UniformGrid>
|
|
|
|
<ItemsControl ItemsSource="{Binding CompoList}"
|
|
DockPanel.Dock="Top"
|
|
Visibility="{Binding CompoListVisibility}">
|
|
<ItemsControl.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<StackPanel/>
|
|
</ItemsPanelTemplate>
|
|
</ItemsControl.ItemsPanel>
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<Button Command="{Binding DataContext.CompoBtnCommand,
|
|
RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"
|
|
CommandParameter="{Binding}"
|
|
Style="{StaticResource CompoWindow_Button}"
|
|
Focusable="False">
|
|
<Grid>
|
|
<Image Source="{Binding Image}"/>
|
|
<TextBlock Text="{Binding Name}"/>
|
|
</Grid>
|
|
</Button>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
|
|
</ItemsControl>
|
|
|
|
<StackPanel DockPanel.Dock="Bottom"
|
|
Visibility="{Binding CompoBackVisibility}">
|
|
|
|
<ContentControl Content="{Binding CompoManagerControl}"/>
|
|
|
|
<Button Command="{Binding BackCommand}"
|
|
Visibility="{Binding BackVisibility}"
|
|
Style="{StaticResource CompoWindow_Button}"
|
|
Focusable="False"
|
|
Margin="0,0,0,5">
|
|
<Image Source="/Resources/MachiningTab/BackArrow.png"/>
|
|
</Button>
|
|
|
|
</StackPanel>
|
|
|
|
<TextBlock Text="{Binding OutputMessage}"
|
|
Foreground="{Binding MsgColor}"
|
|
DockPanel.Dock="Bottom"
|
|
TextWrapping="Wrap"
|
|
TextAlignment="Center"
|
|
Margin="0,0,0,20"/>
|
|
|
|
<ContentControl VerticalAlignment="Center"
|
|
Content="{Binding SideEntityControl}"/>
|
|
|
|
</DockPanel>
|
|
|
|
</UserControl>
|