mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-07 17:56:35 +08:00
附加信息准备中
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user