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):
Thanks.
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.