/* * This work is licensed under the Creative Commons Attribution 2.5 License. * To view a copy of this license, visit http://creativecommons.org/licenses/by/2.5/ * or send a letter to Creative Commons, 543 Howard Street, 5th Floor, * San Francisco, California, 94105, USA. * * Original developer: David Betz * */ using System; using System.Collections.Generic; using System.Text; namespace DataFeedFramework.Web.Controls { internal class InfoBlockData { private BlockSize blockSize = BlockSize.Regular; private BlockType blockType; private Boolean showBorder = true; private Int32 blockHeight; private Int32 blockWidth; private String dataSource; public String DataSource { get { return dataSource; } set { dataSource = value; } } public Int32 BlockHeight { get { return blockHeight; } set { blockHeight = value; } } public Int32 BlockWidth { get { return blockWidth; } set { blockWidth = value; } } public Boolean ShowBorder { get { return showBorder; } set { showBorder = value; } } public BlockSize BlockSize { get { return blockSize; } set { blockSize = value; } } public BlockType BlockType { get { return blockType; } set { blockType = value; } } public InfoBlockData() { } public InfoBlockData(BlockSize size) { this.BlockSize = size; } public InfoBlockData(BlockSize size, Boolean showBorder) { this.BlockSize = size; this.ShowBorder = showBorder; } } }