Files
Common-VS2019/SacsMobileXamarin/Xamarin/Forms/Base/SaxComponents.cs
T

54 lines
1.6 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace Sarand.Net.Mobile.Xamarin.Forms.Base
{
//=======================================================================
public class SaxComponents
{
//-------------------------------------------------------------------
// Definitions.
//-------------------------------------------------------------------
// Data members.
private bool readOnly = false;
//-------------------------------------------------------------------
// Construction.
public SaxComponents ()
{
}
//-------------------------------------------------------------------
// Properties.
public bool ReadOnly
{
get { return readOnly; }
set { if (readOnly == value) return; readOnly = value; SetControlsReadOnly(); }
}
public bool Changed { get; protected set; } = false;
//-------------------------------------------------------------------
// C o n f i g u r e C o m p o n e n t s
//-------------------------------------------------------------------
protected virtual void ConfigureComponents ()
{
}
//-------------------------------------------------------------------
// C o n t r o l A c t i v i t y
//-------------------------------------------------------------------
protected virtual void SetControlActivity ()
{
}
protected virtual void SetControlsReadOnly ()
{
}
//-------------------------------------------------------------------
}
//=======================================================================
}