How do I disable a button?

Platform: .NET MAUI|Category: Controls

You can disable a button by setting its IsEnabled property to false. This will gray out the button and prevent user interaction.
XAML:

<Button x:Name="button" IsEnabled="False"/>