Handling Content Overflow

The built-in panels make their best effort to accommodate the size needs of their children. But sometimes they are forced to give children smaller space than they would like, and sometimes children refuse to render completely within that smaller space. For example, perhaps an element is marked with an explicit width that’s wider than the containing panel. Or perhaps an element contains so many children that they can’t all fit on the screen. In such cases, a content overflow problem exists.

You can deal with content overflow by using several different strategies:

Image Clipping

Scrolling

Scaling

Wrapping

Trimming

The first ...

Get XAML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.