How can I “sleep” the control I need, namely Image, at a certain point of a certain parent through the code? In WF, this is done by adding a controller to the array of elements to the parent, and I didn’t find how to do the same in WPF
1 answer
All WPF controls with a lot of children have the Children property.
usage example:
var img = new Image(...); HouseCanvas.Children.Add(img); Canvas.SetLeft(img, 20); //позиционирование Canvas.SetTop(img, 20); //позиционирование - 2Well, not so in all. In
Border, for example, no. - VladD - You are welcome! [15 characters] - VladD
|
ItemsControleasiest, for example. - VladD