mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 00:37:19 +08:00
xx
This commit is contained in:
@@ -27,15 +27,15 @@ namespace AIStudio.Wpf.Mind.Controls
|
||||
|
||||
/// <summary>Identifies the <see cref="Rate"/> dependency property.</summary>
|
||||
public static readonly DependencyProperty RateProperty
|
||||
= DependencyProperty.Register(nameof(Rate), typeof(double), typeof(RateControl));
|
||||
= DependencyProperty.Register(nameof(Rate), typeof(double?), typeof(RateControl));
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the "popup" menu for this control is currently open
|
||||
/// </summary>
|
||||
public double Rate
|
||||
public double? Rate
|
||||
{
|
||||
get => (double)this.GetValue(RateProperty);
|
||||
set => this.SetValue(RateProperty, (double)value);
|
||||
get => (double?)this.GetValue(RateProperty);
|
||||
set => this.SetValue(RateProperty, (double?)value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user