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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -