We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Deadlock on UWP when raising property change

If I do binding as below. So I want this can be calculated in ViewModel and update UI, or can be entered by user. But if user enters, it freezes UI and It cause some kind of deadlock.

<Style x:Key="NumericStyle" TargetType="numeric:SfNumericUpDown">
                <Setter Property="HorizontalOptions" Value="FillAndExpand"/>
                <Setter Property="VerticalOptions" Value="FillAndExpand"/>
                <Setter Property="TextColor" Value="Black"/>
                <Setter Property="ParsingMode" Value="Decimal"/>           
                <Setter Property="SpinButtonAlignment" Value="Both"/>

   <numeric:SfNumericUpDown  Maximum="100" MaximumDecimalDigits="2"   Style="{StaticResource NumericStyle}"   x:Name="bodyfatNumericUpDown"
                                        FormatString="p" PercentDisplayMode="Value"   Value="{Binding BodyStat.Bodyfat}" />

  private decimal bodyfat { get; set; }
        public decimal Bodyfat
            get { return bodyfat; }
                bodyfat = value;

1 Reply

VJ Victory Jessie Selvam D Syncfusion Team August 23, 2017 12:37 PM UTC

Hi Emil,

Thank you for using Syncfusion products.

We were able to reproduce the reported issue "Application enters deadlock state while typing number after decimal separator" in SfNumericUpDown control and we have confirmed it as a defect. Please followup the support incident for SfNumericUpDown control under your account to track the status of this issue.

The fix for this issue will be included in our 2017 volume 3 service pack 1 release which is expected to be out in the end of August 2017.


Live Chat Icon For mobile
Up arrow icon