Example #1
0
        public override void SetValue(object value)
        {
            _currentValue = (bool)value;
            var button = _cell.PublicFavoritesButton;

            FavoritesButtonBinding.SetButtonBackground(button, _currentValue);
        }
        public override void SetValue(object value)
        {
            var cell = Cell;

            if (cell == null)
            {
                return;
            }

            _currentValue = (bool)value;
            var button = cell.PublicFavoritesButton;

            FavoritesButtonBinding.SetButtonBackground(button, _currentValue);
        }