using Sarand.Net.Standard.Base.App; using Sarand.Net.Standard.Base.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sarand.Net.Mobile.Maui.Controls { /// /// Application image-button extension point. It currently adds no active /// behavior beyond the MAUI contract. /// public class SamImageButton : ImageButton, ISamControl { // --- Construction --- public SamImageButton() { } // --- Component state --- public void SetControlActivity(bool enabled) { if (IsEnabled != enabled) IsEnabled = enabled; } // --- Events --- protected virtual void Button_Clicked(object? sender, EventArgs e) { SaLogger.Info(SysUtil.Fn + " Button clicked."); } // --- The End --- } }