This commit is contained in:
艾竹
2023-03-13 22:27:00 +08:00
parent 31872222bc
commit 035a725da3
10 changed files with 109 additions and 26 deletions

View File

@@ -21,7 +21,12 @@ namespace AIStudio.Wpf.Mind.Controls
/// </summary>
public class TagControl : Control
{
/// <summary>Identifies the <see cref="Tags"/> dependency property.</summary>
static TagControl()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(TagControl), new FrameworkPropertyMetadata(typeof(TagControl)));
}
/// <summary>Identifies the <see cref="Tags"/> dependency property.</summary>
public static readonly DependencyProperty TagsProperty
= DependencyProperty.Register(nameof(Tags), typeof(ObservableCollection<string>), typeof(TagControl));