using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sarand.Net.Mobile.Maui.Controls { /// /// Application button extension point. It currently adds no behavior beyond /// the MAUI contract. /// public class SamButton : Button, ISamControl { // --- Construction --- public SamButton() { DefaultFontSize = FontSize; } // --- Component state --- public void SetControlActivity(bool enabled) { if (IsEnabled != enabled) IsEnabled = enabled; } // --- Properties --- public double DefaultFontSize { get; } // --- The End --- } }