Page 1 of 1

Inheriting GridViewColumn

Posted: 23 Apr 2020, 20:17
by tesrt
On trying to inherit a GridViewColumn Unity crashes. How to properly inherit GridViewColum ?
    public class GridViewColumnTest : GridViewColumn
    {
        public static readonly DependencyProperty TestProperty = DependencyProperty.Register
         (
         "Test",
         typeof(string),
         typeof(GridViewColumnTest),
         new PropertyMetadata(string.Empty)
        );

        public string Test
        {
            get { return (string)GetValue(TestProperty); }
            set { SetValue(TestProperty, value); }
        }

        public GridViewColumnTest()
        {

        }

    }

Re: Inheriting GridViewColumn

Posted: 24 Apr 2020, 19:48
by sfernandez
Can you please report this in our bugtracker, this is a bug and we shouldn't crash Unity.
You will need to create a new account for the bugtracker, credentials are not shared with your forum account.