dotnet / dotnet/docs-maui

Relationship between ClipsToBounds and IsClippedToBounds

Open
#1,726 0 comments 0 reactions 0 assignees View on GitHub
doc-enhancement upgrade-from-xamarin
Dominant language
No language data
Stars
282
Forks
265
Avg merge
2d 2h
Merged PRs (30d)
19

Description

In MAUI.Controls, the value of `ClipsToBounds` is provided by the `IsClippedToBounds` property of Layout. For migration convenience from Xamarin.Forms, the `IsClippedToBounds` property defaults to `false`, so layouts in MAUI.Controls _do not clip_ by default.

https://github.com/dotnet/maui/pull/16833

This should be mentioned in the migration docs, and potentially the layout docs. It may require additional content adding on how the layout engine works.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.