View Issue Details

IDProjectCategoryView StatusLast Update
0001579NoesisGUIUnity3Dpublic2021-05-11 16:40
ReporterFeldruebeAssigned Tosfernandez 
PrioritynormalSeveritytweakReproducibilityalways
Status assignedResolutionopen 
Product Version2.2.5 
Target Version3.1Fixed in Version 
Summary0001579: Combining MarkupExtension and IValueConverter crashes Unity
DescriptionIf you are combining a MarkupExtension and an IValueConverter Unity crashes when using the converter.
Steps To ReproduceUse the following converter in an xaml.

public class EnumMatchToVisibilityConverter : MarkupExtension, IValueConverter
    {
        public int Test { get; set; }
        
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value is int && parameter is int)
            {
                return (int)value == (int)parameter ? Visibility.Visible : Visibility.Collapsed;
            }

            return Binding.DoNothing;
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
TagsUnity
PlatformAndroid

Relationships

duplicate of 0001975 assignedsfernandez Can't create MarkupExtension that implements IValueConverter 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-11-02 13:14 Feldruebe New Issue
2019-11-02 13:14 Feldruebe Tag Attached: Unity
2021-05-11 16:40 sfernandez Relationship added duplicate of 0001975
2021-05-11 16:40 sfernandez Assigned To => sfernandez
2021-05-11 16:40 sfernandez Status new => assigned
2021-05-11 16:40 sfernandez Target Version => 3.1