附加信息准备中

This commit is contained in:
kwai
2023-03-13 19:44:30 +08:00
parent 414eb28867
commit 31872222bc
12 changed files with 146 additions and 73 deletions

View File

@@ -18,11 +18,20 @@ namespace AIStudio.Wpf.Mind.Controls
/// <summary>
/// RemarkControl.xaml 的交互逻辑
/// </summary>
public partial class RemarkControl : UserControl
public class RemarkControl : Control
{
public RemarkControl()
/// <summary>Identifies the <see cref="Remark"/> dependency property.</summary>
public static readonly DependencyProperty RemarkProperty
= DependencyProperty.Register(nameof(Remark), typeof(string), typeof(RemarkControl));
/// <summary>
/// Whether or not the "popup" menu for this control is currently open
/// </summary>
public string Remark
{
InitializeComponent();
get => (string)this.GetValue(RemarkProperty);
set => this.SetValue(RemarkProperty, (string)value);
}
}
}