A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Hello,
Welcome to our Microsoft Q&A platform!
I do not need to write the code in each project?
Sorry, we cannot do that. Xamarin.Forms user interfaces are rendered using the native controls of the target platform. For some extended functions, we need achieve it on each platform using the native code. So it'll be necessary to create the .cs file in each project.
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
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.