Click here to Skip to main content
12,746,945 members (32,398 online)
Rate this:
Please Sign up or sign in to vote.
See more: .NET3.5 C# SQL .NET WPF Server

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 19:10pm
Rate this: bad
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.
Rate this: bad
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.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170215.1 | Last Updated 12 Feb 2010
Copyright © CodeProject, 1999-2017
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