Page 1 of 1

Getting parent of a certain control [SOLVED]

Posted: Thu Dec 03, 2015 12:48 am
by bulo
Is it possible to somehow find a parent of a control? In wpf / silverlight I've been using VisualTreeHelper to traverse over the controls tree, but in cshtml5 I don't know how to do this.

Re: Getting parent of a certain control

Posted: Thu Dec 03, 2015 5:35 am
by JS-Support @Userware
Hi and welcome to the forums.

"VisualTreeHelper.GetParent()" will be available in the Beta 6.1 release, which is expected to be released before the end of the month.

Thanks.
Regards,
JS-Support

Re: Getting parent of a certain control

Posted: Thu Dec 03, 2015 11:41 am
by bulo
Thanks for comforting and fast response :) can't wait for the next release!

Re: Getting parent of a certain control

Posted: Wed Dec 23, 2015 10:43 am
by JS-Support @Userware
Hi,

I am pleased to inform you that the "VisualTreeHelper.GetParent" method has now been implemented in the Beta 6.1, which you can download from:
http://forums.cshtml5.com/viewforum.php?f=6

Thank you.
Regards,
JS-Support