---
title: "Window in WPF"  
description: "In this blog I am trying to explain the concept of Window Class in WPF.      Windows in WPF Applications    We are says the window is use to interact"  
author: "Vijay Shukla"  
published: 2013-07-20  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/558/window-in-wpf  
category: "wpf"  
tags: ["wpf"]  
reading_time: 2 minutes  

---

# Window in WPF

In this blog I [am trying](https://answers.mindstick.com/qa/36834/which-two-programming-languages-should-i-master-in-if-i-am-trying-to-get-into-google-or-facebook) to [explain the concept](https://www.mindstick.com/forum/159605/explain-the-concept-of-unique-key-violation-error) of Window Class in WPF.\

##### Windows in WPF Applications

We are says the window is use to interact a user with [applications](https://www.mindstick.com/articles/12847/how-to-choose-the-right-ethernet-cable-for-industrial-applications). The [essential](https://www.mindstick.com/articles/12260/why-it-is-essential-to-be-proactive-about-your-retirement-financial-planning) purpose of a window is to host and [display content](https://www.mindstick.com/forum/118/problem-in-display-content-of-one-page-to-another-page). The type of content that a window hosts depends on the type of data that an [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) operates over, which can include media, [Extensible](https://www.mindstick.com/blog/59/xaml-extensible-application-markup-language) Application [Markup Language](https://www.mindstick.com/interview/234/what-is-markup-language) (XAML) pages, [Web pages](https://www.mindstick.com/blog/367/transferring-data-between-asp-dot-net-web-pages), [documents](https://www.mindstick.com/articles/156931/the-main-types-of-business-documents), database tables and records, and system information.

##### The following figure illustrates the constituent parts of a window.

\
![Window in WPF](https://www.mindstick.com/blogs/50044f15-1e1d-461a-96a1-1b7132cbbbd6/images/8131e584-9bf2-4efe-8bb0-5b13ed066bd8.png)

A window is divided into two areas: the non-client area and client area.

The non-client area of a window is implemented by WPF and includes the parts of a window that are common to most windows, including the following:

· A border.

· A title bar.

· An icon.

· Minimize, Maximize, and Restore buttons.

· A Close button.

A System menu with menu items that allow users to minimize, maximize, restore, move, resize, and close a window.

The client area of a window is the area within a window's non-client area and is used by developers to add application-specific content, such as menu bars, tool bars, and controls.

In WPF, a window is encapsulated by the Window class that you use to do the following:

· Display a window.

· Configure the size, position, and appearance of a window.

· Host application-specific content.

· Manage the lifetime of a window.

---

Original Source: https://www.mindstick.com/blog/558/window-in-wpf

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
