Change button
This commit is contained in:
@@ -38,11 +38,11 @@
|
||||
Command="{Binding DeleteVersionCommand}">
|
||||
<Button.ToolTip>
|
||||
<uc:ButtonToolTipEh HeaderText="Delete selected version"
|
||||
IconContent="{StaticResource DeleteAnalysis}"
|
||||
IconContent="{StaticResource DeleteEntity}"
|
||||
DescriptionText="Deletes selected version (not available for unique version)"/>
|
||||
</Button.ToolTip>
|
||||
<Viewbox>
|
||||
<ContentControl ContentTemplate="{DynamicResource DeleteAnalysis}"/>
|
||||
<ContentControl ContentTemplate="{DynamicResource DeleteEntity}"/>
|
||||
</Viewbox>
|
||||
</Button>
|
||||
<Button Style="{StaticResource ToolButton}"
|
||||
@@ -78,7 +78,7 @@
|
||||
<MenuItem Header="Delete version" Command="{Binding DeleteVersionCommand}" ToolTip="Delete selected version">
|
||||
<MenuItem.Icon>
|
||||
<Viewbox Height="16" Width="16">
|
||||
<ContentControl ContentTemplate="{StaticResource DeleteAnalysis}"/>
|
||||
<ContentControl ContentTemplate="{StaticResource DeleteEntity}"/>
|
||||
</Viewbox>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
|
||||
@@ -1,17 +1,5 @@
|
||||
using StructureHelperCommon.Models.Analyses;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace StructureHelper.Windows.MainWindow.Analyses
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user