[英]wpf/prism - Cannot update property value when working with integerupdown
As I was re-working an app's logic, I noticed that whenever I tried to work with UIntegerUpDown
control from this library , the property bonded to the control's Value
property is never updated.当我重新设计应用程序的逻辑时,我注意到每当我尝试使用此库中的
UIntegerUpDown
控件时,绑定到控件的Value
属性的属性永远不会更新。
For example:例如:
<cntrl:UIntegerUpDown Value="{Binding MinHeight}"/>
and和
public uint MinHeight
{
get => minHeight;
// never called
set => SetProperty(ref minHeight, value);
}
This is a known issue of the NumericUpDownLib library, it appeared in v3.0.0.0这是 NumericUpDownLib 库的一个已知问题,它出现在 v3.0.0.0
You can either roll back to v2.4.2.2 or propose a fix to the author.您可以回滚到 v2.4.2.2 或向作者提出修复建议。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.