The Window class is a key component of a Windows application. This tutorial examines the Windows class and some important properties for setting size and startup location.
- [Instructor] You can set some properties…on the window class itself; this controls things…like the size of the window, and the start position,…and other attributes like that.…Before I actually make those changes,…let's look at what this application…looks like when it's running.…So I'll click on the Start button in Visual Studio.…WPF is a desktop application,…and it's running in the window,…so it's going to have all the window…characteristics you're familiar with,…like a title bar, like the Minimize and Close buttons,…and the Maximize button.…
Because I'm running in Windows 10,…it's picking up the colors and the shapes…and the look of the buttons from Windows 10.…Course I can maximize this, and then restore it down.…And then I can also size this,…and you know in Windows if I size it…and then maximize it and then restore it,…it returns back to the original size.…What I'd like to do is change the initial size…of the window, so it's a little bit bigger,…and I'd also like to make sure that it starts…in a maximized view.…
- Why choose Windows Presentation Foundation?
- Exploring the project types
- Creating a WPF project in Visual Studio
- Exploring assemblies and parts
- Using the XAML editor
- Creating the UI, including tabs, details, and controls
- Using data binding
- Adding styles
- Writing interaction code
- Using control templates, 3D parts, and effects
Skill Level Intermediate
Learning Visual Studio Team Serviceswith Jose Miguel Rady Allende1h 17m Intermediate
2. Create a WPF Application
3. Create the UI
4. Examples and Concepts
Next steps1m 37s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.