简体   繁体   中英

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.
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

You can either roll back to v2.4.2.2 or propose a fix to the author.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM