protected virtual void UpdatePageViewItems(IRadPageViewProvider pageViewProvider)
        {
            this.suspendTabChanging = true;
            if (!(pageViewProvider is RadPageViewExplorerBarProvider))
            {
                GridTableElement childTableElement = this.CreateChildTableElement();
                if (this.GridViewElement.UseScrollbarsInHierarchy && !(pageViewProvider is RadPageViewStripProvider))
                {
                    childTableElement.StretchVertically = true;
                }
                this.pageViewElement.ContentArea.Children.Add((RadElement)childTableElement);
            }
            this.Children.Add((RadElement)this.pageViewElement);
            while (this.PageViewElement.Items.Count > 0)
            {
                this.PageViewElement.Items[0].RadPropertyChanging -= new RadPropertyChangingEventHandler(this.item_RadPropertyChanging);
                this.PageViewElement.Items[0].RadPropertyChanged  -= new RadPropertyChangedEventHandler(this.item_RadPropertyChanged);
                this.PageViewElement.RemoveItem(this.PageViewElement.Items[0]);
            }
            RadPageViewItem selectedItem = (RadPageViewItem)null;

            if (this.pageViewElement is RadPageViewStripElement || this.pageViewElement is RadPageViewOutlookElement)
            {
                for (int index = 0; index < this.HierarchyRow.Views.Count; ++index)
                {
                    if (this.HierarchyRow.Views[index].ViewTemplate != this.ViewTemplate)
                    {
                        RadPageViewItem pageViewItem = this.CreatePageViewItem(pageViewProvider, this.HierarchyRow.Views[index]);
                        this.pageViewElement.AddItem(pageViewItem);
                        if (pageViewItem.Tag == this.HierarchyRow.ActiveView)
                        {
                            selectedItem = pageViewItem;
                        }
                    }
                }
            }
            else
            {
                for (int index = this.HierarchyRow.Views.Count - 1; index >= 0; --index)
                {
                    if (this.HierarchyRow.Views[index].ViewTemplate != this.ViewTemplate)
                    {
                        RadPageViewItem pageViewItem = this.CreatePageViewItem(pageViewProvider, this.HierarchyRow.Views[index]);
                        this.pageViewElement.AddItem(pageViewItem);
                        if (pageViewItem.Tag == this.HierarchyRow.ActiveView)
                        {
                            selectedItem = pageViewItem;
                        }
                    }
                }
            }
            this.UpdateSelectedPageViewItem(selectedItem);
            RadPageViewOutlookElement pageViewElement = this.pageViewElement as RadPageViewOutlookElement;

            pageViewElement?.HideItems(pageViewElement.Items.Count);
            this.suspendTabChanging = false;
        }
 public OverflowItemsContainer(RadPageViewOutlookElement owner)
 {
     this.owner = owner;
 }