Files
Common-VS2019/SacsMobileMaui/Maui/Controls/SamCheckBox.cs
T

31 lines
594 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sarand.Net.Mobile.Maui.Controls
{
/// <summary>
/// Application check-box extension point. It currently adds no behavior
/// beyond the MAUI <see cref="CheckBox"/> contract.
/// </summary>
public class SamCheckBox : CheckBox, ISamControl
{
// --- Construction ---
public SamCheckBox()
{
}
// --- Component state ---
public void SetControlActivity(bool enabled)
{
if (IsEnabled != enabled) IsEnabled = enabled;
}
// --- The End ---
}
}