The WrapPanel positions each child element next to the other in a horizontal or vertical stack. When a row is full, the elements wrap to the next line.
- [Teacher] The WrapPanel purpose is to read…each child element in sequential positioning…from left to right or top to bottom.…You change these positions with the Orientation property.…WrapPanel defaults to horizontal orientation.…In this mode, each child is placed to the right…of the previous element, and when the row is filled,…another row is created for the next child.…Rows are filled from left to right.…When the row is full, then a new row is added below that.…In vertical orientation, each child…is placed below the previous element.…
When the column gets full,…another column is created for the next child.…Columns are filled from top to bottom,…and then the columns are added from left to right.…As far as sizing goes for the children,…here's two properties that you can use to set the height…and width of the individual items: itemWidth and itemHeight.…So let's talk about the defaults.…If you don't use the itemWidth or the itemHeight property,…then each child element is sized to their content,…WrapPanel tries to keep them as small as possible…
- 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.