Hello,
According to the official documentation, if the Grid.Row or Gird.Column property is used without the auto label, its default value is *.
The default value of the RowDefinition.Height property is *. Similarly, the default value of the ColumnDefinition.Width property is *. Therefore, it's not necessary to set these properties in cases where these defaults are acceptable.
Therefore, if you want to use the auto attribute, you need to set it manually in the Gird tag, and according to this document Simplify row and column definitions, the way you use is already the most simplified way to declare rows and columns.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.