From the course: Windows Presentation Foundation: 1 Build Dramatic Desktop Applications
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Change Windows properties
From the course: Windows Presentation Foundation: 1 Build Dramatic Desktop Applications
Change Windows properties
- [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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Create the basic tab layout10m 13s
-
Add assets to project3m 26s
-
Change Windows properties4m 40s
-
Add the Details UI9m 10s
-
Build UI from user controls4m 4s
-
Add user controls to the main UI2m 55s
-
Use databinding to present the data5m 7s
-
Use a data template to enhance the UI5m 26s
-
Use MarkupExtension and template4m 19s
-
Add styles to elements4m 30s
-
Write the interaction code for the application6m 57s
-
UI summary2m 4s
-
-
-