Files
EgtCAM5/ProjectPage/SpecialPanel/SpecialPanelView.xaml
T
Emmanuele Sassi ae0e465e64 EgCAM5 :
- Aggiunto SpecialPanel configurabile da file ini nella barra degli strumenti superiore.
2017-02-24 10:36:57 +00:00

21 lines
778 B
XML

<UserControl x:Class="SpecialPanelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ItemsControl ItemsSource="{Binding ButtonList}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Button ToolTip="{Binding ToolTip}" Command="{Binding LuaExecCommand}" Style="{StaticResource DrawPanelButton}">
<Image Source="{Binding ImagePath}"/>
</Button>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</UserControl>