开发者

Silverlight 3/4 Navigation Application - Access child page controls from Parent page

开发者 https://www.devze.com 2022-12-14 12:20 出处:网络
How can I access child page controls from the 开发者_JS百科parent page in a Silverlight 3/4 Navigation Application? I wish to hide an image from the child page when I click a button in the parent page

How can I access child page controls from the 开发者_JS百科parent page in a Silverlight 3/4 Navigation Application? I wish to hide an image from the child page when I click a button in the parent page.


I think you can do this by returning a reference to the child page to the parent page when the navigation frame's Navigated event completes. The NavigationEventArgs parameter has a "Content" property which is set to the child page which has just been navigated to.

0

精彩评论

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