Bug 60012 - App crashing when binding the int property to nullable double? data type bindable property.
Summary: App crashing when binding the int property to nullable double? data type bind...
Status: NEEDINFO
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: 2.4.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-10-06 10:52 UTC by karthikeyanv
Modified: 2017-10-08 21:33 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description karthikeyanv 2017-10-06 10:52:37 UTC
My App crashing when binding the CLR property int value to nullable double? data type bindable property.

public static readonly BindableProperty MinimumProperty =
            BindableProperty.Create("Minimum", typeof(double?), typeof(DataClass), null, BindingMode.Default, null,
                null);


public double? Minimum
{
    get { return (double?)GetValue(MinimumProperty); }
    set { SetValue(MinimumProperty, value); }
}
Comment 1 Paul DiPietro [MSFT] 2017-10-08 21:33:53 UTC
What is the error you're seeing? Can you please provide a reproduction and diagnostic info?

Note You need to log in before you can comment on or make changes to this bug.