Вынудить UserControl удалить себя (WPF)

In winforms I usually do Parent.Controls.Remove(this); to have a UserControl remove itself. This isn't working for wpf. My control has button on it to remove the whole UserControl, any ideas how to accomplish this in wpf? Thanks in advance

5
задан Arcturus 11 January 2019 в 07:07
поделиться