Skip to content
Discussion options

You must be logged in to vote

WrapperView will sometimes get added when we have to add various clipping and interaction features. We have ToPlatform return the wrapper view because that's the view we are interested in when adding the view to the layouts.

Generally

ImageHandler imageHandler = imageView.Handler as ImageHandler; 
NativeImageViewType nativeImageView = imageHandler.PlatformView

Is preferred if you are just wanting to access the platformView.

We mainly use "ToPlatform" when we are going to generate a platform view from an xplat view.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jonmdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
t/bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #21656 on April 05, 2024 22:44.