Improve shared MAUI controls and tests

This commit is contained in:
Andy Howard
2026-10-06 14:13:28 +01:00
parent 0406adfc99
commit 5daf7ce97f
106 changed files with 2299 additions and 805 deletions
+13 -16
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -6,28 +6,25 @@ using System.Threading.Tasks;
namespace Sarand.Net.Mobile.Maui.Controls
{
//======================================================================
public class SamCheckBox : CheckBox
/// <summary>
/// Application check-box extension point. It currently adds no behavior
/// beyond the MAUI <see cref="CheckBox"/> contract.
/// </summary>
public class SamCheckBox : CheckBox, ISamControl
{
//-------------------------------------------------------------------
// Definitions.
// --- Construction ---
//-------------------------------------------------------------------
// Data members.
//-------------------------------------------------------------------
// Construction.
public SamCheckBox()
{
}
//-------------------------------------------------------------------
// Properties.
// --- Component state ---
//-------------------------------------------------------------------
// Control events.
public void SetControlActivity(bool enabled)
{
if (IsEnabled != enabled) IsEnabled = enabled;
}
//-------------------------------------------------------------------
// --- The End ---
}
//======================================================================
}