控件重名冲突

This commit is contained in:
艾竹
2023-04-18 22:38:20 +08:00
parent 033bebb6bc
commit 451df2d5de
16 changed files with 20 additions and 86 deletions

View File

@@ -176,7 +176,7 @@
<Setter Property="ToolBox">
<Setter.Value>
<ControlTemplate TargetType="Control">
<controls:ToolBoxControl />
<controls:MindToolBoxControl />
</ControlTemplate>
</Setter.Value>
</Setter>

View File

@@ -1,4 +1,4 @@
<UserControl x:Class="AIStudio.Wpf.Mind.Controls.ToolBoxControl"
<UserControl x:Class="AIStudio.Wpf.Mind.Controls.MindToolBoxControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"

View File

@@ -14,11 +14,11 @@ using System.Windows.Shapes;
namespace AIStudio.Wpf.Mind.Controls
{
/// <summary>
/// ToolBoxControl.xaml 的交互逻辑
/// MindToolBoxControl.xaml 的交互逻辑
/// </summary>
public partial class ToolBoxControl : UserControl
public partial class MindToolBoxControl : UserControl
{
public ToolBoxControl()
public MindToolBoxControl()
{
InitializeComponent();
}