/// <summary>
        /// The create items from data.
        /// </summary>
        /// <param name="dataSource">
        /// The data source.
        /// </param>
        private void CreateItemsFromData(IEnumerable dataSource)
        {
            foreach (var data in dataSource)
            {
                var item = new CloudItem();

                if (string.IsNullOrEmpty(this.DataHrefField))
                {
                    if (string.IsNullOrEmpty(this.DataHrefFormatString))
                    {
                        item.Href = String.Empty;
                    }
                    else
                    {
                        string.Format(CultureInfo.CurrentCulture, this.DataHrefFormatString, new[] { data });
                    }
                }
                else
                {
                    item.Href = DataBinder.Eval(data, this.DataHrefField, this.DataHrefFormatString);
                }

                if (!string.IsNullOrEmpty(this.DataTextField))
                {
                    item.Text = DataBinder.Eval(data, this.DataTextField, this.DataTextFormatString);
                }

                if (!string.IsNullOrEmpty(this.DataTitleField))
                {
                    item.Title = DataBinder.Eval(data, this.DataTitleField, this.DataTitleFormatString);
                }

                if (!string.IsNullOrEmpty(this.DataWeightField))
                {
                    item.Weight = Convert.ToDouble(DataBinder.GetPropertyValue(data, this.DataWeightField));
                }

                this.Items.Add(item);
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CloudItemClickEventArgs"/> class.
 /// </summary>
 /// <param name="item">
 /// The item.
 /// </param>
 internal CloudItemClickEventArgs(CloudItem item)
 {
     this.cloudItem = item;
 }