View Issue Details

IDProjectCategoryView StatusLast Update
0002084NoesisGUIUnity3Dpublic2021-08-16 19:31
Reportersfernandez Assigned Tosfernandez  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.1.0 
Target Version3.1.1Fixed in Version3.1.1 
Summary0002084: Crash when defining GridLength dependency property
DescriptionWhen creating a custom control with a GridLength dependency property, Unity crashes.

    public class MyControl : Control
    {
        public GridLength ContentArea
        {
            get { return (GridLength)GetValue(ContentAreaProperty); }
            set { SetValue(ContentAreaProperty, value); }
        }

        public static readonly DependencyProperty ContentAreaProperty = DependencyProperty.Register(
            "ContentArea", typeof(GridLength), typeof(MyControl),
            new PropertyMetadata(new GridLength(0.0f)));
    }
TagsNo tags attached.
PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-08-16 18:40 sfernandez New Issue
2021-08-16 18:40 sfernandez Assigned To => sfernandez
2021-08-16 18:40 sfernandez Status new => assigned
2021-08-16 18:40 sfernandez Target Version => 3.1.1
2021-08-16 19:31 sfernandez Status assigned => resolved
2021-08-16 19:31 sfernandez Resolution open => fixed
2021-08-16 19:31 sfernandez Fixed in Version => 3.1.1