Files
EgtCAM5/ProjectPage/MachGroupPanel/MachGroupPanelView.xaml
T
Emmanuele Sassi 8aefba99c0 EgtCAM5 :
- Aggiunto MachGroupPanel.
2016-09-30 09:52:01 +00:00

26 lines
1.1 KiB
XML

<UserControl x:Class="MachGroupPanelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<UserControl.Resources>
</UserControl.Resources>
<StackPanel Orientation="Horizontal">
<ItemsControl ItemsSource="{Binding MachGroupList}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Button Content="{Binding}" Height="30" MaxWidth="100" Padding="5,0,5,0" ToolTip="{Binding}"
Command="{Binding SetCurrMachGroupCommand}" CommandParameter="{Binding}"/>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
<Button Content="+" Height="20" Width="20" VerticalAlignment="Center"
Margin="0,0,5,0" Command="{Binding AddMachGroup}" IsEnabled="False"/>
</StackPanel>
</UserControl>