Native control

Daniel Than 20 Reputation points
2024-01-16T16:55:06.45+00:00

Hi, I'm migrating my existing Xamarin app to MAUI. I have read over the article about the handler/mapper architecture and successfully created a mini project to apply that concept. Back to my company project, we have something like this. User's image

I believe this class must be implemented on every platform as the native layer. The problem is I don't know which class this CustomEditorRenderer (don't mind about this name) should inherit from? Do you have a list of components (iOS, Android, Windows) that can be used in replacement of these old renderers?

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Answer accepted by question author
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,156 Reputation points Microsoft External Staff
    2024-01-17T02:37:31.1933333+00:00

    Hello,

    The CustomEditorRenderer should inherit the EditorHandler after migrating to the Handler.

    Do you have a list of components (iOS, Android, Windows) that can be used in replacement of these old renderers?

    MAUI officially provides controls, native controls and a table of corresponding Handlers, please refer to Handler-based views for more details.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.