public TabButtonsPanelDescendant(BaseTabControlViewInfo tabViewInfo, XtraTabPageDescendant pagedes)
     : base(tabViewInfo)
 {
     _PageDescendant = pagedes;
 }
        private void xtraTabPageDescendant2_CustomPageButtonClick(object sender, CustomHeaderButtonEventArgs e)
        {
            XtraTabPageDescendant xtraPage = sender as XtraTabPageDescendant;

            MessageBox.Show(string.Format("PageName {0}, click on button {1} kind {2}", xtraPage.Name, e.Button.Index, e.Button.Kind));
        }