Habanero.Faces.Base.CheckBoxMapper.InternalUpdateControlValueFromBo C# (CSharp) Method

InternalUpdateControlValueFromBo() protected method

Updates the appearance of the control when the value of the property has changed internally
protected InternalUpdateControlValueFromBo ( ) : void
return void
        protected override void InternalUpdateControlValueFromBo()
        {
            object propValue = GetPropertyValue();
            bool newValue;
            if (propValue != null)
            {
                newValue = Convert.ToBoolean(propValue);
            }
            else
            {
                newValue = false;
            }
            if (newValue != _checkBox.Checked)
            {
                _checkBox.Checked = newValue;
            }
        }
        /// <summary>