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.
Unfortunately, activation email could not send to your email. Please try again.

Deadlock on UWP when raising property change

Thread ID:

Created:

Updated:

Platform:

Replies:

132245 Aug 22,2017 01:04 PM Aug 23,2017 08:37 AM Xamarin.Forms 1
loading
Tags: SfNumericUpDown
Emil
Asked On August 22, 2017 01:04 PM

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"/>
            </Style>

   <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; }
        [Column("bodyfat")]
        public decimal Bodyfat
        {
            get { return bodyfat; }
            set
            {
                bodyfat = value;
               OnPropertyChanged("Bodyfat");
            }
        }

Victory Jessie Selvam D [Syncfusion]
Replied On August 23, 2017 08:37 AM

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.

Regards,
Jessie

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;