public void Initialize(MemberData member)
        {
            List <PropertyItem> list = new List <PropertyItem>();

            if (member != null)
            {
                foreach (PropertyData pair in member.MemberProperties)
                {
                    PropertyItem item = new PropertyItem();

                    String caption = pair.Name;
                    if (caption.StartsWith("-") && caption.EndsWith("-"))
                    {
                        caption = caption.Trim('-');
                    }
                    item.Property = caption;

                    if (pair.Value != null)
                    {
                        item.Value = pair.Value.ToString();
                    }
                    else
                    {
                        item.Value = String.Empty;
                    }
                    list.Add(item);
                }
            }
            PropertiesCtrl.Initialize(list);
        }
        public void Initialize(CellInfo cell)
        {
            m_Cell = cell;

            List <PropertyItem> properties_list = new List <PropertyItem>();
            List <PropertyItem> tuple_list      = new List <PropertyItem>();

            if (cell != null)
            {
                if (cell.CellDescr != null && cell.CellDescr.Value != null)
                {
                    foreach (PropertyData pair in cell.CellDescr.Value.Properties)
                    {
                        PropertyItem item = new PropertyItem();
                        item.Property = pair.Name;
                        if (pair.Value != null)
                        {
                            item.Value = pair.Value.ToString();
                        }
                        else
                        {
                            item.Value = String.Empty;
                        }
                        properties_list.Add(item);
                    }
                }
            }

            PropertiesCtrl.Initialize(properties_list);
            TupleCtrl.Initialize(cell);
        }