The Letterbox user control is used throughout this course to help understand layout concepts. This video explores the Visual Studio LetterBox project and looks at how the LetterBox is constructed and how it works in application interfaces.
- [Instructor] Throughout this course, I'll be using…a custom WPF user control to help demonstrate some…of the principles of layout, and how to use controls…within the various WPF panels.…In this video I'll take a look at that custom user control.…Since I have this project here, UseLetterBox,…and I have two projects here, DemoLib and UseLetterBox,…UseLetterBox is a WPF Windows application.…DemoLib is a WPF Control Library.…This control library has a single user control, it's called…LetterBox, this is what it looks like.…
It has a border and a fill value, then it has a circular…badge in the center of the screen, and inside that badge…is a letter, so I can change the letter, hence the name…LetterBox, and when I change the letter it also changed…the border and the background color.…You'll see that here in the code behind.…In WPF, you can add properties to a user control,…and then you can set those in your XAML or in your code,…and these properties are always implemented as dependency…properties, let's take a look.…
- Exploring the layout panels
- Working with the grid
- Adding rows and columns
- Creating scrolling content
- Controlling element visibility
- Aligning content
- Making custom layout panels
Skill Level Intermediate
Learning Visual Studio Team Serviceswith Jose Miguel Rady Allende1h 17m Intermediate
1. Layout Panels
2. Other Layout Concepts
3. Custom Layout Panel
Next steps1m 34s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.