Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET3.5 C# SQL WPF Server
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 11-Feb-10 18:10pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The answer to these questions in WPF is almost always to replace the template that renders that area, and change it as required.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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.
  Permalink  

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

  Print Answers RSS
0 Dnyaneshwar@Pune 604
1 thatraja 370
2 OriginalGriff 319
3 Sergey Alexandrovich Kryukov 241
4 kbrandwijk 204
0 OriginalGriff 737
1 Dnyaneshwar@Pune 604
2 Kornfeld Eliyahu Peter 505
3 Sergey Alexandrovich Kryukov 395
4 thatraja 370


Advertise | Privacy | Mobile
Web01 | 2.8.140902.1 | Last Updated 12 Feb 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100