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?

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

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 32,616 Reputation points Microsoft Vendor
    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