public void AddTitleColumn(Object key, Object obj, double width)
        {
            Grid grid = new Grid();

            grid.Height = 15;
            grid.Width  = width;

            AddToTitle(obj, width);

            UIElement element = WpfFinder.getUiElement(obj);

            element.SetValue(VerticalAlignmentProperty, VerticalAlignment.Center);
            element.SetValue(HorizontalAlignmentProperty, HorizontalAlignment.Center);


            grid.Children.Add(element);

            Rectangle rect = new Rectangle();


            rect.Style             = this.FindResource("SeperatorLine") as Style;
            rect.Margin            = new Thickness(width - 3, 3, 0, 3);
            rect.Width             = 1;
            rect.Height            = 15;
            rect.VerticalAlignment = System.Windows.VerticalAlignment.Center;
            grid.Children.Add(rect);


            _titles.Add(obj);
            _titleDic.Add(key, element);
            //_wid.Add(width);
        }
 void AddToTitle(Object obj, double wid)
 {
     Header.addAnItem(true, WpfFinder.getUiElement(obj), wid);
     _wid.Add(wid);
 }