Beispiel #1
0
        void ConfigureListItemCell(CheckBoxCell itemCell, ListColor color, ListItem item)
        {
            itemCell.CheckBox.TintColor = AppColors.ColorFrom(color);
            itemCell.CheckBox.Checked   = item.IsComplete;
            itemCell.Label.Text         = item.Text;

            itemCell.Label.TextColor = UIColor.White;

            // Configure a completed list item cell.
            if (item.IsComplete)
            {
                itemCell.Label.TextColor = UIColor.LightGray;
            }
        }
		void ConfigureListItemCell(CheckBoxCell itemCell, ListColor color, ListItem item)
		{
			itemCell.CheckBox.TintColor = AppColors.ColorFrom(color);
			itemCell.CheckBox.Checked = item.IsComplete;
			itemCell.Label.Text = item.Text;

			itemCell.Label.TextColor = UIColor.White;

			// Configure a completed list item cell.
			if (item.IsComplete)
				itemCell.Label.TextColor = UIColor.LightGray;
		}