Page 1 of 1

[SOLVED] StackPanel.Children.Insert not works?

Posted: Mon May 11, 2020 6:22 pm
by takabo
Hi,
"StackPanel.Children.Add(textBlock);" works fine.
But, "StackPanel.Children.Insert (0, textBlock);" does not work as expected.
It is added to the last instead of the first.

Is this a specification?

Re: StackPanel.Children.Insert not works?

Posted: Mon May 11, 2020 11:28 pm
by JS-Support @Userware
Hi,
It looks like a defect. We are going to fix it asap.
Thanks

Re: StackPanel.Children.Insert not works?

Posted: Fri May 29, 2020 5:54 am
by JS-Support @Userware
Hi,

The issue has now been fixed. Please expect the fix to be available in CSHTML5 2.0.0-alpha66-086 on NuGet.org

Thanks