附加信息准备中

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>
/// PriorityControl.xaml 的交互逻辑
/// </summary>
public partial class PriorityControl : UserControl
public class PriorityControl : Control
{
public PriorityControl()
/// <summary>Identifies the <see cref="Priority"/> dependency property.</summary>
public static readonly DependencyProperty PriorityProperty
= DependencyProperty.Register(nameof(Priority), typeof(double), typeof(PriorityControl));
/// <summary>
/// Whether or not the "popup" menu for this control is currently open
/// </summary>
public double Priority
{
InitializeComponent();
get => (double)this.GetValue(PriorityProperty);
set => this.SetValue(PriorityProperty, (double)value);
}
}
}