b87faa551f
-Ottimizzazione codice
36 lines
1.7 KiB
XML
36 lines
1.7 KiB
XML
<StackPanel x:Class="PartInRawPartManagerV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Orientation="Vertical"
|
|
HorizontalAlignment="Right"
|
|
DataContext="{StaticResource PartInRawPartManagerVM}">
|
|
|
|
<Button Command="{Binding ReOrderPart_Command}"
|
|
Visibility="{Binding MovePart_Visibility}"
|
|
ToolTip="{Binding ReOrderPart_ToolTip}"
|
|
IsEnabled="{Binding PartInRawPartManager_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/TopPanel/ReOrderPart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding MoveUpPart_Command}"
|
|
Visibility="{Binding MovePart_Visibility}"
|
|
ToolTip="{Binding MoveUpPart_ToolTip}"
|
|
IsEnabled="{Binding PartInRawPartManager_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/TopPanel/MoveUpPart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding MoveDownPart_Command}"
|
|
Visibility="{Binding MovePart_Visibility}"
|
|
ToolTip="{Binding MoveDownPart_ToolTip}"
|
|
IsEnabled="{Binding PartInRawPartManager_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/TopPanel/MoveDownPart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding RemovePart_Command}"
|
|
ToolTip="{Binding RemovePart_ToolTip}"
|
|
IsEnabled="{Binding PartInRawPartManager_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/TopPanel/RemovePart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</StackPanel>
|