dir.by  
  Search  
Programming, development, testing
Xamarin (приложение на C# для Windows, iOS, Android)
Xamarin Forms (Maui elements)
What is Xamarin.Forms (Maui)?
  Looked at 8200 times    
 What is Xamarin.Forms (Maui)? 
last updated: 14 October 2025
Xamarin.Forms - allows you to use one library of elements (text fields, buttons, radio buttons, labels, list views, etc.) for all systems (Android, iOS, Windows)

You add elements in your Xamari application, and on a specific platform (iOS or Android or Windows) for each of your elements generation is called and native elements are drawn (iOS has its own buttons, Android has its own buttons, etc.)

You can add elements in both Xamarin c# code and XAML format.
Advantages of Xamarin.Forms
First of all, it's the well-known C# and .NET. If you've been writing in sharpies for a long time, then you don't need to spend a lot of time learning several new frameworks, or even languages. Or, at least, at the beginning, you don't need to, and you can start quickly enough using your current knowledge.

Secondly, the approach to creating and working with the user interface is close to what we are all used to in Windows. WPF developers will be especially happy, since Xamarin Forms supports working with XAML, bindings, templates, styles, and other joys of life. I think it's clear that they're a bit stripped down and we shouldn't expect the full power of WPF, but it still adds convenience.

You can reuse code that has already been written. For the most part, it will work correctly. Platforms have limitations, but they are not so great.

The fact that Xamarin.Forms is similar to WPF leads to the following advantage of this platform: MVVM. Indeed, Xamarin.Forms has XAML, visuals have a BindingContext (analogous to the DataContext in WPF), and there is a BindableProperty (analogous to the DependencyProperty). In this way, you can bind a View to a ViewModel in a similar way to WPF.

• Another advantage
of this framework is that since the UI is described only in one place, applications under different systems will look very similar. Which can be important, for example, in corporate development.
Disadvantages of Xamarin.Forms
• Incomplete implementation of the functionality WPF ...
• Trade-offs in the implementation of functionality that differs on different platforms
• Different behavior on different platforms
• Performance
How to solve problems?
To solve problems, you have to get into native mobile parts and write your renderers on elements and solve what default renderers cannot cope with.
Inference
Xamarin.Forms can be used when you need a quick start on multiple platforms at once, when performance isn't very important, or when there is a lot of old code that you want to reuse in a new application.

If you care about some unusual design, or high speed, and you write applications for sale in stores, then maybe it is better to write in native or in Xamarin Mobile.

Although the Xamarin team is actively developing its product at the moment, updates are released quite often.
 
← Previous topic
Запуск и отладка Xamarin.iOS приложения на компьютере c операционной системой MacOSX
 
Next topic →
(ContentPage, FlyoutPage, NavigationPage, TabbedPage) is a page in Xamarin.Forms | C# | MAUI
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

  Объявления  
  Объявления  
 
Xamarin
What is Xamarin?
Download and install Xamarin
Download and install Microsoft Visual Studio to write Miaui applications on a computer with the Windows system
Open Visual Studio (for writing in Xamarin)
Creating a Xamarin app
Creating a new Xamarin app on a Windows computer
Run the Xamarin.UWP app on a Windows computer
Run and debug a Xamarin.UWP app on a Windows computer
Making App Packages for Xamarin.UWP apps on a Windows computer | Run the Xamarin.UWP app using App Packages
Запускаем Xamarin.Android приложение на компьютере Windows
Запуск и отладка Xamarin.Android приложения на компьютере(Windows) в режиме эмулятора Android
Запуск и отладка Xamarin.Android приложения на телефоне через USB
Запуск Xamarin.Android приложения на телефоне (создание apk файла)
Тестирование Xamarin.Android приложения на телефоне
Android (устанавливаем)
Создаем Android виртуальное устройство в Visual Studio 2017
Инсталлирование платформы Android (SDK 7.1.1 API 25) в Visual Studio 2017...
Errors in Xamarin.Android app: Error IDE0006 | Error "Could not find android.jar for API Level"
Запускаем Xamarin.iOS приложение на компьютере с системой iOS
Запуск и отладка Xamarin.iOS приложения на компьютере(Windows) в режиме эмулятора iOS
Запуск и отладка Xamarin.iOS приложения на компьютере c операционной системой MacOSX
Xamarin Forms (Maui elements)
What is Xamarin.Forms (Maui)?
(ContentPage, FlyoutPage, NavigationPage, TabbedPage) is a page in Xamarin.Forms | C# | MAUI
(Grid, StackLayout) is the layout of graphic elements in Xamarin.Forms (Maui)
A graphic element in Xamarin.Forms (this is a button, text field, etc., inherited from the View class) | Xamarin.Forms | C# | Maui
Graphical editor for XAML file in Xamarin.Forms
Database in Xamarin
Download and install DB Browser for SQLite (program for working with sqlite)
Open (run) DB Browser for SQLite
Дополнительные темы, вопросы
Почему в минимальной программе Xamarin.Android получается apk файл больше 5 mb ?
Книги о Xamarin
Книги для изучения Xamarin

  Ваши вопросы присылайте по почте: info@dir.by  
Яндекс.Метрика