Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hartez committed Jan 12, 2024
1 parent 5808ffb commit c532d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/design/scrollview.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The ScrollViewer control behavior differs from the .NET MAUI behavior (and Forms

To compound our problems, ScrollViewer is `sealed`. So we cannot override the measure/arrange behavior.

So, to make the Windows implemenation of ScrollView work the way we want, we insert an extra layer - a `ContentPanel`. The native `Content` property of the ScrollViewer is set our extra `ContentPanel`, which hosts the content of the virtual ScrollView. This intermediate `ContentPanel` provides our virtual `Padding` and `Margin` property behaviors, and is responsible for invoking the `CrossPlatformMeasure()` and `CrossPlatformArrange()` methods.
So, to make the Windows implementation of ScrollView work the way we want, we insert an extra layer - a `ContentPanel`. The native `Content` property of the ScrollViewer is set our extra `ContentPanel`, which hosts the content of the virtual ScrollView. This intermediate `ContentPanel` provides our virtual `Padding` and `Margin` property behaviors, and is responsible for invoking the `CrossPlatformMeasure()` and `CrossPlatformArrange()` methods.

## Android

Expand Down

0 comments on commit c532d9f

Please sign in to comment.