Hope someday there are UI Widgets in C# Drawings and update, like Flutter no more XAML. #12832
Replies: 4 comments 5 replies
-
Kindly use any of the following amazing C# only UI libraries: |
Beta Was this translation helpful? Give feedback.
-
You can achieve less than 1 ms startup time in release mode, see https://devblogs.microsoft.com/dotnet/performance-improvements-in-dotnet-maui |
Beta Was this translation helpful? Give feedback.
-
I dissagree that the future of UI framework is a bunch of control, most of them are going to be the same anyways, just different layout, a button it's just a button it's not an image, and it can even not be a button but an element with onclick event you should only use other control when you need to do something you couldn't, otherwise just draw your own 'card' and 'row' with absolute positioning and child elements, you would appreciate it later when you want to do something that microsoft didn't do for you write your own algorithms for calculating UI, (put x in the center of y |> zoom 0.5f |> putCornerAt (BL, y.BL)), it might actually be faster most importantly now you just need the rendering engine to do exactly what you are telling it to draw and call update to redraw and you have complete control over how and the performance of your UI because you wrote the algorithms to calculate them you wrote the code to put objects to heap you wrote the codes the dispatch a captured image to multiple Renderer for shared-grain parallelism without all the complexity microsoft shipped in their XAML black box that you don't entirely know at first because you didn't write them how else are you going to render multiple part of the screen in parallel with single threaded UI in Xamarin Meanwhile this is very simple to implement, because I don't want you to ship a bunch of control, I just need a bug free framework that can draw my description of the UI to the screen without using Xaml. So I can stick with one element for most of the thing like 'div' in browser, XAML can retire because there isn't anything to declare anyways with vast amount of controls reduced, and having to write the tag name twice sucks (IDE has auto complete ok), and we can even have anonymous element description which you can't do with XAML in actual programming languages, we can all keep things very simple and be happy |
Beta Was this translation helpful? Give feedback.
-
While I do like Flutter, I much prefer using XAML for my UI development. Flutter code can very quickly get messy and "hilly". It's difficult to understand what is going on in Flutter UI code. XAML is much more easily comprehended. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm am developing .net maui several months,, but very lags in everything maybe because xaml need lots of compilations than C# itself and it consume from native UI (THIS NEED LOTS OF CODE AND LOGICS).
Hope there are teams that focuses on drawings UI, update draw (Stateful and Stateless Pure C#) every UI should have different purpose like
SIZEBOX,
ROW,
COLUMN,
PADDING,
CENTER,
CARD,
ICON.
ICONBUTON,
Different kind of buttons,
DEVIDER,
TEXT,
Different UI for every specific purpose, to prevent lots of properties, lots of codes, lots compilations and logics in every UI.
I feel that flutter surpass even WINUI in fastest HOT RELOAD, HOT RESTART is just a millisecond in flutter.
Now I tried flutter and I feel no lags even a single spot of lags,, the start up in flutter is just 1 second in Windows compare to WinUI,

Since Flutter is everything is a widgets, you can insert any widget contents as widgets, so everything is customizable,
FLUTTER APP IN RELEASE MODE CAN ACHIEVE 1 SECOND IN START-UP, BECAUSE NO MORE LOTS OF PROPERTIES AND LOGIC LIKE XAML.
az_recorder_20230201_074836.mp4
No more delays in release mode.
https://user-images.githubusercontent.com/73583588/216351217-807a6ec3-151f-4a3d-9cc5-cb7333f6213c.mp4
Beta Was this translation helpful? Give feedback.
All reactions