![]() ![]() NET MAUI app, so the root window of the app uses them to change its content. That is why, by default, the base class of the XAML pages is not Window, but ContentPage. NET MAUI is a successor of the mobile Xamarin framework where windows are not very used. Read more about its API in the documentation: ScrollView. The ScrollViewer component is also not available, but you can rely on ScrollView to achieve scrolling functionality. NET MAUI WrapLayout Documentation - RadWrapLayout Overview - Telerik UI for. StackPanel, VerticalStackPanel, HorizontalStackPanelįlexLayout/ Telerik WrapLayout. NET MAUI DockLayout Documentation - Overview - Telerik UI for. I am listing here the common alternatives of the most used layouts from WPF: WPF NET Multi-platform App UI control that derives from View (this includes views and layouts) has HorizontalOptions and VerticalOptions properties, of type LayoutOptions, and these are your new best friends whenįor example, use it to position a Label inside a StackPanel: NET MAUI documentation before porting the code directly: Layouts. NET MAUI are also different from WPF and I suggest you take a look at the. Which will in turn modify the final size the element receives during a layout cycle. These properties will call the GetSizeRequest, NET MAUI the framework offers us HeightRequest and WidthRequest instead, which are properties of the VisualElement class. In WPF we can rely on Height and Width properties of the FrameWorkElement class, while in. Properties for a WPF dev- CornerRadius and BorderThickness. Its StokeShape property to define the shape and corner radius or Telerik Border component which exposes directly the well-known NET MAUI Border component, where we need to use NET MAUI, we have to use a container control that draws a border, background to use the BorderThickness, CornerRadius. While in WPF, we have built-in properties of the FrameworkElement objects Buttons, Labels, TextBox, etc. Telerik RadEntry is also a great component when we are talking about text with some features that you may need, such as built-in Validation.įoreground is also replaced with the TextColor property. NET MAUI, we use Entry for short text and the Editor component for multiple lines. Here the well-known Label still exists, but not the TextBox component. However, if your experience is with Silverlight/WPF XAML, which follows 2006 XAML Specification, you will meet some differences. So if you are already familiar with WinUI, you are familiar with big part of MAUI XAML. NET MAUI XAML is actually the 2009 XAML Specification, the same as another member of. NET MAUI, we can reuse our XAML and C# skillset and bring our Windows desktop app to more devices by However, still there is no XAML standard, which makes things complicated when we are talking about unification and migration. XAML is a great invention and I personally like it a lot. NET MAUI is a cross-platform XAML-based technology, so if you have a strong WPF experience, you will have a quick learning process, but still prepare to meet some differences. If the results led you to using a Blazor Hybrid app, this is a great option too and we will look into it in the next post. NET MAUI, keep reading to the end of this post. Please take this simple test and choose the technology stack for your needs: Both are a great choice to consider when thinking how to bring our desktop app to new territories. How? Let’s take a look at the most modern children in the family. NET family is so big and we can use it to extend and modernize our desktop application to reach the sky (or, in other words, Linux, iOS, macOS and Android □). Let’s be honest,Īll of these options required learning different technologies and going outside the. Until recently, to reach all these users was not easy-you would write four different apps if you needed to rely on a native look and feel for the user experience or to choose the web stack and access the users via browsers. However, the usage of Android, iOS and macOS devices continues to increase and they are now a very important part of our ecosystem.įor reference, we can take a look at the data in Wikipedia: Usage share of operating systems - Wikipedia. ![]() If you have a great WPF app, perhaps your main target users are those using Windows OS. NET MAUI or Blazor Hybrid? Take a quick test, and learn the steps involved if the results show. Your WPF app can gain more users if you make it cross-platform, but what’s the best way to do that-with. ![]()
0 Comments
Leave a Reply. |