[SOLVED] StackPanel.Children.Insert not works?

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
takabo
Posts: 6
Joined: Sun May 10, 2020 5:34 pm

[SOLVED] StackPanel.Children.Insert not works?

Postby takabo » Mon May 11, 2020 6:22 pm

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?

JS-Support @Userware
Site Admin
Posts: 1120
Joined: Tue Apr 08, 2014 3:42 pm

Re: StackPanel.Children.Insert not works?

Postby JS-Support @Userware » Mon May 11, 2020 11:28 pm

Hi,
It looks like a defect. We are going to fix it asap.
Thanks

JS-Support @Userware
Site Admin
Posts: 1120
Joined: Tue Apr 08, 2014 3:42 pm

Re: StackPanel.Children.Insert not works?

Postby JS-Support @Userware » Fri May 29, 2020 5:54 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests