Is it possible to add a parent to the UIElement
in C#? I know it's possible to do it with children like this:
(AssociatedObject as Grid).Children.Add(imageObject);
I can't find any way to set the parent of a UIElement
, and can't find very much on Google either.