.NET MAUI for C# Developers by Jesse Liberty & Rodrigo Juarez
Author:Jesse Liberty & Rodrigo Juarez
Language: eng
Format: epub
Publisher: Packt
Published: 2023-10-15T00:00:00+00:00
Figure 6.2 â Using auto-sizing
Best practice â minimize use of auto
Microsoft recommends minimizing the use of auto as it is less performant (the layout engine has to perform additional calculations). That being said, at times, it is very useful, especially when the size of the object will be determined at runtime.
We could rewrite the rows shown before as follows:
<Grid ColumnDefinitions="*,*,*" RowDefinitions="*,*,auto,auto,50,auto"
The calculation now would be to find the actual size of the three auto rows and add 50 Device-Independent Units, for the fifth row. Then, we take what is left in the grid size, and divide it equally between the first and second rows. The result is shown in the following figure:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Computer Design | Control Systems |
DSPs | Embedded Systems |
Microprocessor Design | PIC Microcontroller |
Linux Device Driver Development Cookbook by Rodolfo Giometti(3935)
Embedded Programming with Modern C++ Cookbook by Igor Viarheichyk(3634)
Implementing Cellular IoT Solutions for Digital Transformation by Dennis McCain(3570)
Embedded Linux Development Using Yocto Project - Third Edition by Otavio Salvador & Daiane Angolini(3409)
TinyML Cookbook by Gian Marco Iodice(3338)
Simplifying 3D Printing with OpenSCAD by Colin Dow(2843)
TinyML Cookbook by Gian Marco Iodice & Ronan Naughton(2606)
Fusion 360 for Makers by Lydia Sloan Cline(2222)
Networking A Beginner's Guide by Bruce Hallberg(2210)
Hands-On Linux for Architects by Denis Salamanca(2053)
But How Do It Know? by J. Clark Scott(2033)
Computers For Seniors For Dummies by Nancy C. Muir(2003)
Raspberry Pi and MQTT Essentials by Dhairya Parikh(1954)
Arduino Project Handbook, Volume 2: 25 Simple Electronics Projects for Beginners by Geddes Mark(1952)
9781803246888-ENHANCING DEEP LEARNING WITH BAYESIAN INFERENCE by Unknown(1902)
Hack and HHVM by Owen Yamauchi(1884)
31 Days Before Your CompTIA A+ Exams (Shanette Luellen's Library) by Benjamin Patrick Conry(1863)
MicroPython Projects by Jacob Beningo(1741)
Hands-On Internet of Things with MQTT by Tim Pulver(1713)
