DependencyObject ucParent = _parent.Parent;while (!(ucParent is UserControl)){ucParent = LogicalTreeHelper.GetParent(ucParent);}하위 UserControl에서 상위 UserControl의 Owner 찾는법참조 : http://stackoverflow.com/questions/1474438/wpf-get-usercontrol-owner
'wpf' 카테고리의 다른 글
WPF HtmlToXaml에 Image Add하기 (0) | 2016.04.14 |
---|---|
image sequence 만들기 (Image Animation) (0) | 2016.04.08 |
Animation 페이지 넘기기 컨트롤 (0) | 2016.04.06 |
[wpf] Object Capture 컨트롤 캡쳐 (0) | 2016.04.05 |
CustomControl ImageButton (0) | 2016.04.04 |