Click here to Skip to main content
15,895,813 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Sir,

I want to disable close button in WPF popup page at loading time

When I searched in some sites there is the code to disable the WPF window only, not the WPF page.


Pls answer me...
Posted

The answer to these questions in WPF is almost always to replace the template that renders that area, and change it as required.
 
Share this answer
 
I deleted your duplicate question, I'm sure it was an accident and that you didn't mean to be so rude.

You plainly do not use SQL to hide a close button, I'll fix your tags for you, too.

Setting the window style to none does not work in WPF, you do that in the XAML for the page, not in code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900