Change button

This commit is contained in:
ear
2025-08-21 12:13:22 +05:00
parent c61069a394
commit a05138fa8a
2 changed files with 3 additions and 15 deletions

View File

@@ -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>

View File

@@ -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
{