A community member has associated this post with a similar question:
IMauiContext not found when trying to get bitmap from FontImageSource

Only moderators can edit this content.

How to get Drawable from ImageSource?

Igor Kravchenko 281 Reputation points
2022-06-05T11:25:43.52+00:00

I have a custom view with ImageSource property and want to use it in handler.
How can I get native drawable (f. e. Android.Graphics.Drawables.Drawable) from ImageSource?
Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
0 comments No comments
{count} votes