Menu

1 / 3

Deep Dive into WPF — Window (Part 1)

DEV Community: dotnet·yohan·about 5 hours ago
#B4xoa5Hz
#devtodotnet#devto#dev#window#visual
Reading 0:00
15s threshold

Users interact with a Windows Presentation Foundation (WPF) standalone application through a Window . The primary purpose of a Window is to host visual content and enable users to interact with that content. Standalone WPF applications use the Window class to provide their own windows.

That is MSDN's description of Window. Although that Chinese translation isn't quite natural English, we can still see Window's two major functions: first, host visual content; second, enable users to interact with that visual content.

Before formally studying Window's features, let's first look at what a Window actually is.

What Is a Window?

Window is at the heart of the Windows operating system. On the surface, Windows is composed of many, many windows. So what exactly is a Window?

In the usual sense, the windows we talk about are the outermost ones — the main windows with Close and Minimize buttons.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.