Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

New Post: ModalContentPresenter with Caliburn.Micro

$
0
0
I have found the ModalContentPresenter class presented at http://programmingwithpassion.wordpress.com/2012/07/01/displaying-modal-content-in-wpf/ .

Unfortunately, the code conventions are not working for controls defined as childs of the ModalContentPresenter.

Example (without ModelContentPresenter, working):
<Window>
    <Button x:Name="SomeName"/>
</Window>
Example (with ModelContentPresenter, not working):
<Window>
    <c:ModelContentPresenter>
        <Button x:Name="SomeName"/>
    </c:ModelContentPresenter>
</Window>
What I need to do to get the code conventions working?

Thanks.

Viewing all articles
Browse latest Browse all 1760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>