Silverlight Remove Popup Control from Visual Tree -
i have silverlight application, control (kind of tooltip) inside popup, , want remove popup in case.
in silverlight spy see popup not child element of rootvisual, appears @ same level.
how can remove popup?
thanks
ok, managed solve issue, , easy @ last.
this code used:
var popups = visualtreehelper.getopenpopups(); foreach (popup pop in popups) { if (pop != null && pop.child tooltip) { ((tooltip)pop.child).isopen = false; } }
Comments
Post a Comment