mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-01 22:56:35 +08:00
xx
This commit is contained in:
@@ -27,15 +27,15 @@ namespace AIStudio.Wpf.Mind.Controls
|
||||
|
||||
/// <summary>Identifies the <see cref="Priority"/> dependency property.</summary>
|
||||
public static readonly DependencyProperty PriorityProperty
|
||||
= DependencyProperty.Register(nameof(Priority), typeof(double), typeof(PriorityControl));
|
||||
= 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
|
||||
public double? Priority
|
||||
{
|
||||
get => (double)this.GetValue(PriorityProperty);
|
||||
set => this.SetValue(PriorityProperty, (double)value);
|
||||
get => (double?)this.GetValue(PriorityProperty);
|
||||
set => this.SetValue(PriorityProperty, (double?)value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user