Relative Content

Tag Archive for xamlmaui

Why .NET MAUI Grid is not extending vertically

I’m trying to add a Welcome Screen for my App, it consists out of a title label, 2 buttons lined in stack vertically and a frame which would hold recently edited files. Elements are added to grid but for some reason Grid takes only about 50% of available vertical space.

Why .NET MAUI Grid is not extending vertically

I’m trying to add a Welcome Screen for my App, it consists out of a title label, 2 buttons lined in stack vertically and a frame which would hold recently edited files. Elements are added to grid but for some reason Grid takes only about 50% of available vertical space.

Unable to get XAML VisualState code to work

I’m learning MAUI and XAML on MS Learn. Unable to get sample code to work. When I click the button and hold down the mouse button, the scale goes from 1.0 to 0.8. When I release the mouse button the scale should return to 1.0 but doesn’t. Below is the XAML code and the C# code from the code-behind file: