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