改下自定义控件类型

This commit is contained in:
艾竹
2023-09-03 16:57:02 +08:00
parent 2f12bfa829
commit 0badb714a0
4 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ namespace AIStudio.Wpf.Mind.Controls
[TemplatePart(Name = PART_DiagramControl, Type = typeof(DiagramControl))]
[TemplatePart(Name = PART_ContentControl, Type = typeof(ContentControl))]
[TemplatePart(Name = PART_SearchControl, Type = typeof(Border))]
public partial class MindEditor : UserControl
public partial class MindEditor : Control
{
public const string PART_DiagramControl = "PART_DiagramControl";
public const string PART_ContentControl = "PART_ContentControl";