WPF - How can I place a usercontrol over an AdornedElementPlaceholder?

后端 未结 2 1401
囚心锁ツ
囚心锁ツ 2020-12-16 19:22

alt text http://img42.imageshack.us/img42/4161/blinkthru.png

I\'m trying to get the validation to not show through my custom modal dialog. I\'ve tried setting the zi

2条回答
  •  独厮守ぢ
    2020-12-16 20:01

    You problem is that the error template is shown in the adorner layer which in your case will be at the root window.

    If you were to change your code to the following you wouldn't have a problem, because there would be a separate adorner layer created around the rest of you controls.

    
            
        
            
                
                
                

提交回复
热议问题