4132e8684d
- Spostati file CurrMachining - Introdotto slider custom - Introdotti flag di modifica separati per slice ed operazioni successive - Gestito calcolo dei solidi separato dal resto - Gestito bottone from import su reference - Aggiornato logo - Migliorata gestione dell'interazione con la scena nelle modifiche grafiche( rib, start mach, ...) - Introdotta gestione grid da oggetto - Gestiti percorsi chiusi e con cap end in ShellNumber
49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<UserControl x:Class="ReferencePanelV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
<Border Style="{StaticResource LeftPanelPopup_Border}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<ListBox ItemsSource="{Binding ReferenceList}"
|
|
SelectedItem="{Binding ghSelReference}"
|
|
BorderThickness="0"
|
|
Margin="0"
|
|
Padding="0">
|
|
<ListBox.ItemsPanel>
|
|
<ItemsPanelTemplate>
|
|
<UniformGrid Rows="3"/>
|
|
</ItemsPanelTemplate>
|
|
</ListBox.ItemsPanel>
|
|
<ListBox.ItemContainerStyle>
|
|
<Style TargetType="ListBoxItem">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
|
<ContentPresenter />
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</ListBox.ItemContainerStyle>
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<RadioButton Content="{Binding sText}"
|
|
IsChecked="{Binding IsSelected,RelativeSource={RelativeSource AncestorType={x:Type ListBoxItem}}}"
|
|
FontSize="40"
|
|
GroupName="ReferenceRadio"
|
|
Style="{StaticResource OptionPanel_NestingToggleButton}"/>
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
<RadioButton Grid.Row="1"
|
|
Content="From Import"
|
|
IsChecked="{Binding FromImport_IsChecked}"
|
|
GroupName="ReferenceRadio"
|
|
Style="{StaticResource OptionPanel_ToggleButton}"/>
|
|
</Grid>
|
|
</Border>
|
|
</UserControl>
|