开发者

How to manage page object from the other user control

开发者 https://www.devze.com 2023-01-23 10:46 出处:网络
I have a problem. I want to create a toolbar.xaml user control. I open a page in content of TabItem In mainpage.xaml. How c开发者_如何学JAVAan access and manage this page from the toolbar user control

I have a problem. I want to create a toolbar.xaml user control. I open a page in content of TabItem In mainpage.xaml. How c开发者_如何学JAVAan access and manage this page from the toolbar user control. Please help. thanks..


either user static variables in parent control and call them directly in the child one.

or raise EventHandlers from child control and subscribe them in parent control.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号